Forum Moderators: phranque

Message Too Old, No Replies

301 section of a site

         

zeus

3:18 pm on Feb 23, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello - right now im redirecting all old pages to new pages, but its 4000 and its like this
RewriteRule ^bla/blaold$ [bla.com...] [R=301,L]

but serious I will never finish, I thought about if its possible, to do so, that I redirect everything in domain.com/cat/ to new page/category so all the PR / pages in that old category is transferred to new single page/category

g1smd

5:45 pm on Feb 23, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



RewriteRule can use pattern matching to match and redirect multiple URLs. You don't have to have one rule per URL. Far from it.

zeus

5:47 pm on Feb 23, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



anywhere where I can see how I do that.

lucy24

12:21 am on Feb 24, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Putter through the last page or two of threads in this forum. Look especially for anything in the form

[^/]+
and
([^/]+/)+[^/]+

which is the meat of any "match a directory" rule.