Answer the question
In order to leave comments, you need to log in
404 error instead of sitemap?
The essence is this:
There is a page in the admin panel - a sitemap with url = sitemap
There is a sitemap in xml-format.
So, if the xml file name matches the page url, a 404 error is displayed.
What could be the problem?
Error text:
Not Found
The requested URL /sitemap.xml/ was not found on this server.
Answer the question
In order to leave comments, you need to log in
RewriteRule ^(.*)$ /public/$1
RewriteRule ^(.*)$ public/$1
RewriteCond %{REQUEST_FILENAME} !-f # не файл
RewriteCond %{REQUEST_FILENAME} !-d # не папка
# не файл
RewriteCond %{REQUEST_FILENAME} !-f
# не папка
RewriteCond %{REQUEST_FILENAME} !-d
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question