Robots.txt and sitemap.xml - 404 error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Version 3.9

If i go to https://www.mysite.com/sitemap.xml  or /robots.txt  I get 404 error.  
I seen how it works on demo site but no such luck for me.

Checked settings and sitemap is enabled
commonsettings.sitemapcustomurls                       All stores
commonsettings.sitemapenabled                  True    All stores
commonsettings.sitemapincludecategories        True    All stores
commonsettings.sitemapincludemanufacturers    False    All stores  
commonsettings.sitemapincludeproducts          True    All stores

I tried editing web config to remove handlers for sitemap and robots txt.  No effect still same 404 Error.

Any help please?  I have read every post about sitemap and no solution.
6 years ago
Hi,

I have the same issue on v.3.90.

How did you manage it, please?
5 years ago
Hi

did the issue resolved? I'm using 3.4 version & getting the 404 - not found error for sitemap.xml & robots.txt

any suggestions to resolve this issue.
5 years ago
These files are generated by website

https://www.nopcommerce.com/boards/t/36217/why-there-is-no-robotstxt-in-nop35.aspx

Set site has pool configured with "integrated" mode (not a "classic" one) ?

Otherwise something in webserver must be blocking those files
5 years ago
Hi Yidna

The site has pool configured with "integrated" mode.

I'm not sure what is blocking the files in webserver.
5 years ago
Might be issue with IIS.

I would request you to put any txt file at root level and try to access that.
5 years ago
yes,the txt & xml files are not accessing.
5 years ago
rehman0845 wrote:
yes,the txt & xml files are not accessing.


Please check your IIS configuration.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.