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

Non existing page - first 302 and then 404 #6966

Open
bambuca opened this issue Dec 18, 2023 · 0 comments · May be fixed by #6967
Open

Non existing page - first 302 and then 404 #6966

bambuca opened this issue Dec 18, 2023 · 0 comments · May be fixed by #6967

Comments

@bambuca
Copy link

bambuca commented Dec 18, 2023

nopCommerce version: 4.70, 4.60

Steps to reproduce the problem:
When I enter wrong url (non existing page) - fe https://demo.nopcommerce.com/nonexistingurl
The browser get HTTP 302 redirect to /page-not-found and then the content of "pagenotfound" with status 404 (so the url in the browser is /page-not-found).
It has negative impact for SEO.
It was mentioned also in nopcommerce forum - https://www.nopcommerce.com/en/boards/topic/97204/google-seo-soft-404-issue, https://www.nopcommerce.com/en/boards/topic/96727/non-existing-page-first-302-and-then-404.

I will prepare PR with fix for this issue.

@bambuca bambuca linked a pull request Dec 19, 2023 that will close this issue
@RomanovM RomanovM self-assigned this Dec 25, 2023
@RomanovM RomanovM added this to the Version 4.80 milestone Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants