January 24th, 2013, 07: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, 12:47 PM
Don't even need mod_rewrite.
Redirect permanent / http://www.domainB.com/
Comments on this post
January 24th, 2013, 06:44 PM
awesome! Thanks as always requinix
Originally Posted by requinix