| Posted: 02 August 2008 at 2:57pm | IP Logged
|
|
|
Hi there,
Thanks for taking the time to look at this. I'm trying to implement a rule that ensures that I always have a trailing slash present. I found a rule on this site and it works when my other rule isnt being processed. My other rule basically creates a SEO friendly link, but if for whatever reason theres no slash at the end of it, the first rule doesnt add one on.
Below is my rules file, any help would be greatly appreciated!
## Force a trailing slash character on folders in the browsers adressbar
RewriteCond Host: (.*) RewriteRule ^([^.?]+[^.?/])$ $1/ [R=301]
RewriteRule (.+)/([0-9]+)/ /directory/profiles.asp?id=$2 [I,L]
|