Odd behavior for missing trailing slash
This is an open discussion with 2 replies, filed under General.
Search
Is there some misconfiguration in the .htaccess file or some strange settings in the url_router ? Maybe you can compare your .htacess file with one from a fresh symphony install?
Well, I managed to get the misbehavior fixed adding this line of code to the .htaccess file:
RewriteRule ^(([a-z0-9-]+/)*[a-z0-9-]+)$ $1/ [NC,R=301,L]
Thanks
Create an account or sign in to comment.
Hello, I have this strange behaviour I cannot solve: if I call a page withouth the trailing slash, I get redirected to a path string, which reveals btw some server information (of less importance).
For example, if I load:
Instead of
The browser gets redirected to:
I did not change the htaccess in any way, so how can I fix this?
Thanks!