Does this redirect pass any juice?
-
Does this link pass link juice: http://www.finda.co.nz/redirect.php?listing_id=r2vp&url=http://www.avantifinance.co.nz
-
Hi Barry,
As I said in my response, I used tools to check for the headers returned by the URL, the same information that is returned to search engine spiders.
There no way to know how the PHP script is made, for me, or for a search engine spider, as the PHP is executed server side and all you get back are the HTTP headers and content.
The url doesn't contain any id, it's simply the redirection url that is passed to it so the script probably look like this :
header('Location: '.$_GET['url'], true, 301);
?>If the redirect.php file was receiving an ID instead of a direct URL, it would probably look more like this :
// stuff to connect to the database here
include('connect.php');
//a long line not well constructed that does a lot of stuff
$url = current(mysql_fetch_assoc(mysql_query("SELECT url FROM urls WHERE id=".(int)$_GET['id'])));
//redirect to the URL from the database
header('Location: '.$url, true, 301);
?>It could be a way to trick user into thinking that the link is passing juice by doing a 301 redirect but blocking the file using robots.txt wich is not the case, there's also no Set-Cookie.
It is more likely to be a way to get statistics about what are the most popular links. For example, redirect.php probably add an entry to a database each time the url is reached to track the number of visitors sent to a particular website.
I hope my answer will help you understand the use of the redirect.php and the way it works. If you still have questions, do not hesitate to reply to my response.
Best regards,
Guillaume Voyer. -
I've been looking into this but don't have the technical chops to give you a definitive answer.
@Guillaume How can you say conclusively that it passes link juice when you don't know what redirect.php does? Unless you were able to see what it does.
For a straight php redirect to count as a 301 I believe it'd need to look like
header( "HTTP/1.1 301 Moved Permanently" );
header( "Location: http://www.new-url.com" );
?>However I assume that you can't do these sort of header redirects as you have multiple ids going into the same redirect.php file?
Do you put cookies on people before redirecting them (I assume there's some sort of affiliation reason to redirect this way)?
Without understanding how it works I'm not sure if it does or doesn't pass value, but please make sure you're happy with the information given to you.
-
Here in the learning session you find more information about the "amount" of link juice:
http://www.seomoz.org/learn-seo/redirection
A 301 Redirect is a permanent redirect which passes between 90-99% of link juice (ranking power) to the redirected page.
-
Hi Conradh,
The redirection is a 301 Moved Permanently, so it does pass link juice. You can find out using different tools like the followings :
http://www.seoconsultants.com/tools/headers
http://web-sniffer.net/
http://www.g-force.ca/referencement/entetesBut, to know if a link pass any link juice, there are also multiple things to check. First, check if the page is indexed in Google using site: or cache: command.
If the page is not indexed, it might be only a question of time, but it might also be because it is blocked by robots.txt, robots meta tag or by X-Robots-Tag.
Also, check if the link doesn't have the rel="nofollow" attribute. Any of those variable can prevent the juice to pass other than the type of redirection.
Best regards,
Guillaume Voyer.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
slug Link redirect to subdomain?
Hi !
Link Building | | Leviiii
Im Levi new here and new in the world of SEO, please dont judge if my questions are silly. Back on the days when the site was built we thought it is a good ideea to have subdomains that together with the domain name represent our main keywords.
ex. https://stansted.tonorwich.uk, https://heathrow.tonorwich.uk, https://luton.tonorwich.uk, https://gatwick.tonorwich.uk. There is content on this subdomains, would it make any difference from SEO perspective if we create slugs that redirect to these subdomains? for example creating https://tonorwich.uk/taxi-minibus-vip-tesla-norwich-to-stansted that redirects to https://stansted.tonorwich.uk ? Or better create these slugs with slightly different content?
Any ideeas would be appreciated.
Thanks in advance!0 -
Is it better to have micro-sites with good content or redirect domains?
I have a domain with a lot of content and it is an eCommerce site. I've just been told that we have another 12 domains that are inactive and do not redirect. I don't know what to do with them as they haven't been used for ages and do not direct or have any content (max of a DA or 4). Therefore which is better for SEO? To have really good content with perhaps a few regular blog posts on each of the 12 domains, or to redirect all of the domains to the one main domain? I would take 1 domain and put a lot of content on and optimise is.. spending a few weeks on one and then move onto another, all while posting on each blog on each domain. Thank you for any help! 🙂
Link Building | | schloeee0 -
MOZ indicates 404 page and 0 backlinks, after 301 redirect. The best redirect solution?
Dear MOZers, I have one concern i would like to ask you.. My website have valuable backlinks to the most important page which is awesome. But, some of those backlinks is old URL which is 301 redirected to the URL I use today. As far as i know 301 redirects pass page rank, so it should be alright. (?) Link i use today: domain.com/awesome-url/ My backlink: domain.com/old-boring-url/ 301 redirected to domain.com/awesome-url/ What bothers me is that in MOZ report (Link opportunities) MOZ indicates my important URL (domain.com/old-boring-url/) return 404. But, it is not true. It is 301 redirected to domain.com/awesome-url/ and it works! I am worried i am losing important link juice here(!?) Also, my On Page Grader tool for domain.com/awesome-url/ reports 0 backlinks. And that is not true! I know exactly which websites are linking back, only problem is that those website are using old URL (domain.com/old-boring-url/) to link back to my website. Am i doing something wrong? Is there a better way to redirect and save valuable link juice for my page? Thank you very much! PS The URL was changed in March 2015.
Link Building | | Chemometec0 -
Is it worth 301 redirecting an old backlink from a 404 to a landing page?
I was reviewing the 404 report in webmaster tools, when I found a 404 back link from a 10 year old forum topic on a very high DA site. It seems the poster did a direct hotlink to a pdf that was on our site a very long time ago, but is now gone so you get a standard "can not be found" page on our site. Is it now worth redirecting the url to an appropriate landing page, considering the age of the post/ link and the sites DA, or is it not worth it because of the age of the link, its a forum, and we are still getting some juice from it anyway despite it being a 404, and won't get much more out of it. Just want to know it good practice if I find many such links (very old links to now 404 pages) Thanks
Link Building | | PaddyDisplays0 -
Using a temp redirect or a link to another domain.
Helloooooooo (hey, we're in SEO...surely we need some sound effects as told in dramatic word elongation?) //First - background. I work on a site that does pretty well with search visibility naturally (by 'naturally', I mean it didn't need a lot of optimisation due to the relationships it has with its link network). I work on a site that sells a particular product - green widgets will do - as part of its verticals. Traffic to this section is great, and tends to convert rather well. These green widgets, however, are also part of another site that's part of the client I work for. The larger company was interested to understand what would happen to their conversions if these green widget visits were sent to them instead of staying on-site (namely, that's because they turn a bigger profit over there). So they set up a link on the page on my site to a landing page on theirs. Sure enough, conversions stayed the same on their site, and showed there may be value in keeping that flow active. //Second - question. I see a few options which mainly revolve around not changing anything, but the bigger part of company wants to see that change. My question is this: long term, should I keep the green widgets section of my site there, and use a link that goes to green widgets on the other site, or should I 302 it until they decide on what they want to do with the relationship between the sites? I know...a bit convoluted, but I'd love to get some ideas on what others have experienced in these situations, and what kinds of outcomes can help both sites remain strong. Thanks a ton, guys.
Link Building | | aroach0 -
Why is Google not following a 301 redirect on the robots.txt file?
Hi Guys, I recently posted a question on the Google Webmasters Forum http://www.google.com/support/forum/p/Webmasters/thread?tid=683e71557db7fd54&hl=en&fid=683e71557db7fd540004a4b4add8cbb6 and didn't get a satisfactory feedback so I thought I will put this to the SEO gurus on here. Perhaps one of you guys might good buddies with Matt and might be able to ask him directly. I actually posted on Matt's blog but he hasn't got back to me. Basically we did a URL restructure for client and set up 301 redirects and saw a huge drop in rankings over time. The 301 redirects seem to work fine and have been tested by many many people. We suspected that google might be ignoring the 301 redirects or devaluing them and so I reviewed the server log to see what is happening when the googlebot crawls the site and it showed that on many occasions the googlebot did not reload the page after hitting a 301 redirect. Sure.. you might say it probably queues it or Google might just be checking that the 301 redirect is still in place but why check so often (with a few hours to a day on the same URL) it even skips a 301 redirect on the robots.txt file i.e. from http://clientsite.com/robots.txt to http://www.clientsite.com/robots.txt. from non-www to www version. I don't think it is easy to dismiss the skipping of the robots.txt file - this 301 redirect should be loaded immediately to use the instructions the gooblebot requires to crawl the page. Any help will be appreciated. I can sent the server log to anyone personally but I am reluctant to post it on here. Regards, Zan
Link Building | | FRL0 -
Redirect
A few pages get a lot of external links and rank well (when site:domain.com) but i do not want that those pages rank well (these are blog pages and we are in E-commerce) Can i redirect these pages to other pages which are more important to me and customers because google see only the link or is google so smart that they see a realtion between the page from which i get the links and to the page in my webste In that case i rename the old pages.
Link Building | | turnon0