Answer the question
In order to leave comments, you need to log in
How to cancel a redirect to a page without a slash?
Hello
LiteSpeed
Shared Hosting
.htaccess
htaccess is set to redirect all URLs to a URL with a trailing slash:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*[^/])$ $1/ [L,R=301]
sitemap.xml
and it redirects to sitemap.xml/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question