Results 1 to 2 of 2
Jun 12, 2013, 07:00 #1
- Join Date
- May 2009
- 0 Post(s)
- 0 Thread(s)
301 redirect when old url and new url are the same at the beginning?
I am trying to do a redirect where www.domain.com/directory/Abc_Def will redirect to www.domain.com/directory/Abc_Defghi
I'm running into an infinite loop because the first parts of the url are exactly the same. I tried RewriteRule ^directory/Abc_Def$ /directory/Abc_Defghi [L,R=301] but it didn't work.
Is there a way to do this?
Last edited by TinyQueen; Jun 12, 2013 at 07:01. Reason: Apparently I can't spell "Thanks"
Jun 15, 2013, 09:20 #2
Looks to me like it should work. I can only suspect that something else in your htaccess is causing the problem."First make it work. Then make it better."