In my .htaccess file, this works
Code:
RewriteEngine On
RedirectMatch 301 .* http://www.newdomain.com/
But this does not
Code:
Options +FollowSymLinks
RewriteEngine On
RedirectMatch 301 .* http://www.newdomain.com/
What is the purpose of
Code:
Options +FollowSymLinks
and is it really necessary?
Incidentally is there anything wrong with using this command
to redirect everything from an old domain to the home page of a new domain?
Code:
RewriteEngine On
RedirectMatch 301 .* http://www.newdomain.com/
__________________
Please login or register to view this content. Registration is FREE "Order a PEBBLE Smart Watch for Bluetooth connection to your iPhone or Android" - 100% Waterproof - 7+ days Battery Charge - High Res Outdoor Readable - Vibrating Alert - Incoming Caller ID
Last edited by TWD; 07-23-2012 at 03:11 AM..
|