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

Dean Mah dean.mah at gmail.com
Tue Dec 20 11:38:52 CST 2005


On 12/20/05, Sarah Adams <sarah at designshift.com> wrote:
> > 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.
>
> So, since I'm trying to redirect to another site - I used my own URL in
> the example because I couldn't think of another URL to use :) - it could
> be their rewrite that's doing this, right?

Could be.  Try using:

RedirectPermanent /blah http://www.othersite.com/

Dean



More information about the thelist mailing list