January 24th, 2013, 08:01 AM
Permanent redirect good practise
I pretty much want domainA.com to redirect permanently to domainB.com
Is the following snippet good practise to do so?
If this is the right way or anyone knows a better way, let me know. I don't want to get screwed over by search bots
RewriteRule (.*) http://www.domainB.com/$1 [R=301,L]
January 24th, 2013, 01:47 PM
Don't even need mod_rewrite.
Redirect permanent / http://www.domainB.com/
Comments on this post
January 24th, 2013, 07:44 PM
awesome! Thanks as always requinix
Originally Posted by requinix