Here are some of my rules in .htaccess using modrewrite
Code:
RedirectMatch 301 ^/billing/(.*) http://www.hostking.co.za/$1
RedirectMatch 301 ^/web-hosting/(.*) http://www.hostking.co.za/blog/web-hosting/$1
RedirectMatch 301 ^/seo/(.*) http://www.hostking.co.za/blog/seo/$1
RedirectMatch 301 ^/websitepanel/(.*) http://www.hostking.co.za/blog/websitepanel/$1
If using a Windows server more than likely ISAPI rewrite is used.
This may help aswell:
HTML Code:
RewriteBase
RewriteRule ^/isapi_old_page.asp$ /isapi_new_page.asp [NC,L,R=301,O]
Hope these help
Bookmarks