Skip to content

Fix SEO issues #2

@jacklin213

Description

@jacklin213

Currently with HashRouter being used, Google bot won't actually crawl these pages. Possible ways of improvements is:

  • Pre-Rendering into Static HTML Files
  • Using BrowserRouter instead of HashRouter.
    • GitHub pages has issues running with BrowserRouter out of the box as https://harrypotterspells.github.io/downloads will go the gh-pages server, the server will see there is no downloads project and return a 404
    • With some configuration, can use a trick to teach GitHub Pages to handle 404s by redirecting to index.html with a custom redirect parameter as shown here
  • Static Rendering

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions