Redirect from Url to path for missing trailing slash
This is an open discussion with 1 reply, filed under General.
Search
You can comment out the following part of your .htaccess
file:
### CHECK FOR TRAILING SLASH - Will ignore files RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !/$ RewriteCond %{REQUEST_URI} !(.*)/$ RewriteRule ^(.*)$ $1/ [L,R=301]
Create an account or sign in to comment.
Hello,
if a link is missing the trailing slash, the server loads the path to the page concatenated to the web address, es:
How can I prevent this? Thanks