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
Robots.txt SEO improvements #3230
Comments
Yes, also for me it seems strange. "en/search?q={search_term_string}", |
Closed #3230 |
From the discussion here https://www.nopcommerce.com/boards/topic/90841/googlebot-picking-up-incorrect-currency :
Do we need to change these patterns? |
I close it because it looks like the topic describes a custom feature. Closed #3230 |
nopCommerce version: 4.20
Steps to reproduce the problem:
I believe all AJAX URLs (changecurrency, changetaxtype, changelanguage...) should be Dissalowed in robots.txt because it makes mess in Google Search Console (indexing)
How to fix it:
All AJAX URLs from
src/Presentation/Nop.Web/Infrastructure/RouteProvider.cs
should be added into
localizableDisallowPaths
at/src/Presentation/Nop.Web/Factories/CommonModelFactory.cs
line 766The text was updated successfully, but these errors were encountered: