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

FAQ through Google search results is leading to an empty page #582

Open
kubilaycaglayan opened this issue Dec 3, 2024 · 4 comments
Open
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@kubilaycaglayan
Copy link

Environment

- Search engine: google.com
- Search phrase: "When working with Google Auth, and more specifically the Sign In ... disable the following header that are set by Nuxt Security automatically"
- Result page: https://www.google.com/search?q=When+working+with+Google+Auth%2C+and+more+specifically+the+Sign+In+...+disable+the+following+header+that+are+set+by+Nuxt+Security+automatically
- First result: https://nuxt-security.vercel.app/documentation/advanced/faq

Nuxt Security Version

v2.1.5

Default setup used?

Yes, the bug happens even if the security option is not customized

Security options

Reproduction

You can directly go to this page: https://nuxt-security.vercel.app/documentation/advanced/faq
Or you can search through google with the phrase: "When working with Google Auth, and more specifically the Sign In ... disable the following header that are set by Nuxt Security automatically"

Description

When we click a search result from Google to go to the FAQ, the link leads to an empty page.

Image

Additional context

This links seems to be working fine: https://nuxt-security.vercel.app/advanced/faq

--

I have seen that it was decided to be added to the FAQ in this issue, and that's why I decided to open an issue in this repo.

Logs

@kubilaycaglayan kubilaycaglayan added the bug Something isn't working label Dec 3, 2024
@vejja vejja added the documentation Improvements or additions to documentation label Dec 3, 2024
@Baroshem
Copy link
Collaborator

Baroshem commented Dec 4, 2024

@vejja I think we would need to add some redirection (301) rules for that. WDYT?

@vejja
Copy link
Collaborator

vejja commented Dec 4, 2024

I'm not sure I understand the root cause of the issue.
Is it only that the Google crawl bot has not refreshed its links to the new docs website ?

@Baroshem
Copy link
Collaborator

Baroshem commented Dec 4, 2024

I think so. Well, we can either just wait for google to reindex it properly or add a redirect on our side

Not sure which one will be better for now

@vejja
Copy link
Collaborator

vejja commented Dec 4, 2024

Ok, got it
I think you can submit the site to Google for reindexing?
And yes, maybe a redirect of /documentation/** to /**. Either via Nuxt or via Vercel?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants