joined:May 13, 2005
I have been a member for quite some time and this is my first post in a while.
I am trying to get my .htaccess file to issue redirects for thousands of URLs and whatever I am doing is not working.
Below is the code in my .htaccess file # Permanent move from website1.com to website2.com
RewriteRule ^/tigers/(.+) http://website2.com/bears/$1 [R=301,L]
What I was hoping this would do was redirect website1.com/tigers/xxxx to website2.com/bears/xxxx where xxxx can be any of thousands of different names. However what is happening is that I am being redirected from website1.com/tigers/xxxx to website2.comtigers/xxxx where "tigers" is not being replaced by "bears" and a "/" is missing in front of the url.
Any help would be appreciated
[edited by: phranque at 1:49 pm (utc) on Aug 5, 2014]
[edit reason] unlinked URL [/edit]