Search

Hello,
if a link is missing the trailing slash, the server loads the path to the page concatenated to the web address, es:

http://localhost/mysite/mylist/today ->
http://localhost/Users/me/Sites/Sym/Mywebsite/symphony/publish/today/

How can I prevent this? Thanks

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.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details