[thelist] .htaccess redirect adding unnecessary slash to end of url

Dean Mah dean.mah at gmail.com
Tue Dec 20 10:21:35 CST 2005


On 12/20/05, Sarah Adams <sarah at designshift.com> wrote:
> > Have you tried:
> >
> > Redirect Permanent /blah/ http://hardedge.ca
> > Redirect Permanent /blah http://hardedge.ca
>
> I just tried that, it didn't help, unfortunately.

There's likely a rule in your httpd.conf or similar file that is
rewriting your URLs to append the trailing slash.  You may want to set
up a rewrite rule for the above and use [R,L] and put it above the
trailing slash rule.

Dean



More information about the thelist mailing list