Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error 404 and configuration of gatsby seo plugin #84

Open
manang opened this issue Oct 30, 2022 · 0 comments
Open

error 404 and configuration of gatsby seo plugin #84

manang opened this issue Oct 30, 2022 · 0 comments

Comments

@manang
Copy link

manang commented Oct 30, 2022

Hi,
I'm trying to use this plugin within my project.
Every singlepage webapplication generates an error 404 before landing on the right page. I solved this configuring apache2 to redirect the connection, if the error 404 occurs.
The problem is that the url of this page is dynamic and I need to fill the template of gatsby seo accordingly to this.
for example, before the redirect, my url is https://website/page/dynamic-parameters.
After, the connection is redirec to to https://website/page
how can I manage this with gatsby seo? in the head the parameters are not modifiable, and the locator variable is euqual to https://website/page and not to https://website/page/dynamic-parameters.
(https://stackoverflow.com/questions/52051090/gatsbyjs-client-only-paths-goes-to-404-page-when-the-url-is-directly-accessed-in)

Thanks a lot for your help
Angelo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant