Forum Moderators: coopster

Message Too Old, No Replies

redirecting folders with no trailing slash

can nto get htaccess to work.

         

nippi

4:42 am on Aug 24, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am trying to do a quick for to a site that has a problem with 3 directories getting indexed, without the trailing slash. I just want to do a 301 redirection, but its not working.

am trying this

RewriteEngine on

RewriteCond %{REQUEST_URI} ^/categories/Aviaries
RewriteRule ^/categories/Aviaries$ /categories/Aviaries/ [R=permanent,L]

where am I going wrong?

smatts9

4:22 pm on Aug 24, 2009 (gmt 0)

10+ Year Member



Try asking the question in the Apache Web Server forum.