Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Help With Using Redirectmatch


milanmk - 2:51 pm on Jun 18, 2007 (gmt 0)


If you are moving the whole directory then a simple redirect will do the work.

RedirectPermanent /old-sub-cat/ http://example.com/cat/new-sub-cat/

Well you were quite close in your RedirectMatch

RedirectMatch /old-sub-cat/article-(*).shtml http://example.com/cat/new-sub-cat/article-$.sthml

Milan


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