Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- redirects going to wrong page entirely


starchild - 10:54 pm on Jan 11, 2012 (gmt 0)


Hi,

I have a weird one here.

My redirects seem ok, but in some cases, the page being redirected to is not correct.

They all seem to be cases like the following


RewriteCond %{REQUEST_URI} ^/forum/discussion/71/*
RewriteRule ^(.*)$ /newpath/topic/growing-tomatoes/ [R=permanent,L]


RewriteCond %{REQUEST_URI} ^/forum/discussion/711/*
RewriteRule ^(.*)$ /newpath/topic/cutting-grass/ [R=permanent,L]



...where the bottom one is also ending up athe the top one;s destination. in other words discussion 711 is going to the growing tomatoes page.

Why is this?

Thanks for your help.


Thread source:: http://www.webmasterworld.com/apache/4406037.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com