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
-
Buy domain, redirect, get all the good links (+link juice) and disavow the spammy ones?
There is a domain for sale that has a quite nice profile and a lot of good backlinks, but also quite a few spammy ones. This domain has a Spam Score of 14% acc. to Moz Link explorer, ours has only 2%. My questions: 1. The domain and the good backlinks are related to or close to our content/keywords. But we are worried whether the "spammy" ones will hurt us. Does anyone has experience with this? 2. Would it help if we disavow the spammy backlinks afterwards? And if so, how do we do that? Add new domain to search console, disavow the bad links and then redirect the entire domain to our domain or redirect the domain first and then disavow from our property? Many thanks for your help!
Link Building | | pissuptours0 -
Link juice - What could be the reason for our bad internal page Page Authority
So OK we have a domain authority currently of 41, we are well established but unfortunately we don't have any pages with PA. I have a fair idea of why this is the case but want to get some other opinions before I form my strategy. 1.It appears our internal link structure is not great and is not very organised 2. It appears we have 58 links going externally on some pages. Some of these external links are social media icons in the footer which are followed. Is there any other factors I should be aware of when building PA on some of my inner pages. Any Thoughts would be appreciated.
Link Building | | CAQ1 -
Correctly Dealing With Redirects
Hi, Hope someone might be able to help me with this. One of our sites was built badly and the orginal url structure was to have mydomain.com/index.php but these have been changed to mydomain.com by a developer who has put the redirects in place. The problem is that in webmaster tools my link count has dropped to 18 from nearly 2300. I am assuming that Google is not seeing the redirect, any advice would be greatly appreciated. Thanks
Link Building | | mitonmark0 -
Best SEO practice to redirect affiliate link
Hello, I got an affiliate program on my website, that redirects the affiliate link to the main site like: site.com/ads/aff_code/ -> site.com/ (The redirect is done using a 301 status code.) On the redirect process the site stores a cookie to track the affiliate sale. Will Google and others SE follow this permanent redirect, transferring the relevance of this affiliate link to my main site? In other words, if an affiliate does something wrong (like spams), does the bad reputation will be transferred to my main site? Is there a better way to do that from a SEO standpoint? Thanks,
Link Building | | darkmediagroup0 -
Does Open Site Explorer show juice passing links
I'm a little confused between all the link types. Internal / External - easy Linking Root Domain - easy Followed / No followed - easy But then there's talk about "juice passing links" and I can't quite get how this is defined, and why it's something you can get from the API, but not from Open Site Explorer... or can you get that info from OSE?
Link Building | | eatyourveggies0 -
JavaScript is crawled by search engines, isn’t it? Does it mean that links embedded in JavaScript pass link juice?
I wonder If links embedded in JavaScript from an external Website pass link juice to the linked page and thus have a positive effect on google rankings. I read that JavaScipt is craweld. Does it mean that also the link juice is passed? I'm looking forward to your answers.
Link Building | | Tabea0 -
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 -
Trying to avoid splitting Search Engine juice, need advice
We currently have a political issue with one microsite we're trying to promote. The group that created the website, created it without the consent of the rest of the company and now, although it's allowed to live, we've been given a few restrictions. They main restriction is that when the microsite is linked from the main corporate website it needs to be referenced as a subdomain so http://microsite.company.com. We've been promoting the site as http://www.microsite.com (I'd include the actual websites but don't want to air their dirty laundry). The problem is that a lot of the listings in google are starting to show up using the http://microsite.company.com url instead of the actual url we're about to start promoting and I'm sure that's going to split rankings. Is there a way to appease both sides here. Keep the subdomain from the main site but transfer the juice from that main link to the microsite url? To be clear, I can't just use a 301 redirect because that will change the url from the subdomain to the microsite url (unless i'm wrong) and corporate doesn't want that. Does any of this make sense? Any help would be greatly appreciated
Link Building | | CubicleFugitive0