htaccess q
htaccess q
- Started
- Last post
- 6 Responses
- trooperbill
i want to 301 redirect from an old site to a new domain and want all of the urls from the old site to redirect to the home page of the new domain
- trooperbill0
anyone know how to do this?
- fadein110
manners?
- trooperbill0
please thanks with cherrys on top ;)
- trooperbill0
i bow to your emmence and all powerful knowledge oh wizely sage ;)
- trooperbill0
RewriteEngine on
RewriteBase /RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . / [R=301,L]redirect 301 / http://www.newdomain.com
just in case anyone asks ;) got it off a forum just now.