GetSimple Support Forum
Add trailing slash to URL - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Off Topic (http://get-simple.info/forums/forumdisplay.php?fid=12)
+--- Thread: Add trailing slash to URL (/showthread.php?tid=95)



Add trailing slash to URL - join - 2009-10-05

I'm a newbie in web-development
How can I modify .htaccess file so that to add trailing slash to every URL?
http://www.site.com/about/ instead of http://www.site.com/about

My .htaccess file looks like:
Code:
AddDefaultCharset UTF-8
RewriteEngine on

RewriteBase /getsimple/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9-]+)/?$ index.php?id=$1 [L]
Thanks in advance.


Add trailing slash to URL - pixelita - 2009-10-17

This article should help. There is a bit of concern from some of the threads I've read on this topic about duplicate content issues, but I don't think there is too much to worry about.
http://enarion.net/web/apache/htaccess/trailing-slash/