301 Redirect for Expired Domain, Not Wordpress

Joined
Dec 20, 2009
Messages
49
Reaction score
11
Hey there,

Does anyone have the code to redirect all pages (besides the index page) that would still have links pointing to them for an expired domain?

For Wordpress, I use Link Juice Keeper but I have some HTML sites that I need this redirect done for to keep the link juice from long tail pages I'm not rebuilding.

Help is appreciated,

Matt
 
try this:

Code:
RewriteCond %{REQUEST_URI} !^/$ 
RewriteRule ^(.*)$ http://www.newsite.com/$1 [L,R=301]
 
Back
Top