Link Juice Keeper Plugin Footprint

codeman1234

Senior Member
Joined
Sep 13, 2011
Messages
957
Reaction score
115
Hello,

How I can do same effect that plugin Link juice Keeper on WP does on 404 pages but with .htaccess so it does not leave a footprint?


Thanks!
 
<meta HTTP-EQUIV="REFRESH" content="0; url=/">
I guess this will do.
 
Use ahrefs, majestic, or open site explorer to retrieve the urls of the top pages of the domain you are redirecting from and then use a 301 plugin (there are several of them) to 301 those pages to wherever you want to 301 them to (probably the homepage). This should help you preserve most of the link juice without any footprint concerns.
 
I checked that and I didn see any footprints.

Of course it does leave a footprint if you use same plugin all the time it leaves a footprint in this case link juice keeper.
<meta HTTP-EQUIV="REFRESH" content="0; url=/">
I guess this will do.

Are you sure will this work? and how I can put this on Wordpress?


Use ahrefs, majestic, or open site explorer to retrieve the urls of the top pages of the domain you are redirecting from and then use a 301 plugin (there are several of them) to 301 those pages to wherever you want to 301 them to (probably the homepage). This should help you preserve most of the link juice without any footprint concerns.

Are there enough plugins alike link juice keeper to make it look natural? Or can this be achieve using htaccess?


Thanks
 
Last edited:
Hey Snaip,

Thanks for the update but, what I am looking for is for same effect as plugin link juice keeper, what it does is to redirect all links to your homepage from 404 errors automatically what you are telling me is how to do it manually. can this be done on htaccess?

Thanks!
 
I don't know how to redirect all 404 pages automatically without adding separate redirect for every url in htacces, but you can accomplish this with php redirect
Open your 404.php file in your active theme?s folder, delete the code from it and paste the following code:
Code:
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: ".get_bloginfo('url'));
exit();?>
If there is no 404.php file in your active theme create a blank file and put the code above ^^^
Note: Back up the 404.php file before making changes
 
I don't know how to redirect all 404 pages automatically without adding separate redirect for every url in htacces, but you can accomplish this with php redirect
Open your 404.php file in your active theme's folder, delete the code from it and paste the following code:
Code:
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: ".get_bloginfo('url'));
exit();?>
If there is no 404.php file in your active theme create a blank file and put the code above ^^^
Note: Back up the 404.php file before making changes

Thanks Man!! Exactly what I was looking for to do same effect with out leaving a footprint like using same plugin on this case.

Just one question how I can put a different url instead of index one on redirection?


Thanks again!!
 
Just one question how I can put a different url instead of index one on redirection?
Change line 3, ex:

Code:
<?php
header("HTTP/1.1 301 Moved Permanently");
header('Location: http://domain.com/inner-page/');
exit();?>

Don't forget to replace http://domain.com/inner-page/ with your url
 
I successfully use this:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . / [L,R=301]
 
Back
Top