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
-
Spammy links redirecting to homepage of site -
Hey guys, I'm auditing a website at the moment and Moz is showing a few spammy links linking to it. The problem is these domains are all 301 redirecting to the domain I'm auditing. Let's say I'm auditing Site A. Site B is been flagged in Moz OSE with 12 spam flags. When I try to open Site B in a browser, it redirects back to Site A. What's the best thing to do, here? Disavowing domains redirecting to the site is surely a bad idea? Cheers.
Link Building | | BrianYork-AIM0 -
PHP Redirection better than Nofollow?
Hello, if I have affiliate outbound links in my blogs, what's better in terms of SEO, to use PHP Redirection or Nofollow for those links? For example, instead of using nofollow for the outbound affiliate links, I can use some plugin for WordPress that does this: mydomain.com/affiliatesitename1 -> redirects to the affiliate link1. mydomain.com/affiliatesitename2 -> redirects to the affiliate link2. mydomain.com/affiliatesitename3 -> redirects to the affiliate link3. Is this better? Thanks.
Link Building | | BloggerGuy0 -
Domain redirect math?
I’m thinking about buying the domain of a former competitor who is getting out of the business. His site has quite a few links, a healthy link profile from several hundred domains (a few common sites, but mostly different) and a Domain Authority of 44 (mine is a 55). His anchor text portfolio is very appropriate to my business, and the domain contains one of my most important keywords (one that’s in my own domain). His site ranks for a many of the same keywords as mine. Where mine is #3, his might be #4. I don’t want to operate his business (there’s a reason he’s getting out), but I was thinking that redirecting the domain to appropriate pages on mine would give a boost to the many long tail keywords which constitute a considerable part of my business. The question is how much of a boost? How much should I be willing to pay for his domain? If I get x visits/year from organic search and he gets y, and both sites rank for approximately the same terms, how much would you expect the two sites together get? Is there a rule of thumb for calculating this kind of thing involving some kind of logarithmic math? Does the combination of links of similar sites make 1+1=2, <2, or >2? Or is the only way to make this estimate to go through each of the major keywords trying to figure out what will happen to each? If, for instance, on average we combined our #3 & #4 rankings and got a #2 ranking, that would probably increase my clicks by 50% because of their higher SERP prominence. Based on my research, a visitor to my website is worth about $14. Assuming that his natural search visitors would be worth about the same amount if directed to my site, I would probably make 1/2 x * $14/year. I'm least comfortable with the first assumption. Is there a better way to evaluate this?
Link Building | | TREWS0 -
Do links behind paywalls pass value?
Hi - we are about to have a product review go live on a site that uses a paywall. Will the link from this still pass SEO value to our site, and should we therefore optimise it? Thanks
Link Building | | GBC0 -
Does a hashtag link pass the same amount of link juice as a link without a hashtag?
Example 1: link to: http://www.domain.com/#something-inside-the-page Example 2: link to: http://www.domain.com/
Link Building | | adriandg0 -
Do people think it is worth setting up a twylah.com page? Does it have value in adding link juice and content from our tweets?
I have seen the site www.twylah.com which produces a permanent page of your tweets for your fans or search engines to see. Has anyone experimented with this, and does it provide benefits, or is it just another distraction I should stear clear off. Any advice, thoughts or discussion appreciated.
Link Building | | Tizzet0 -
Redirect a 404 page
Hi We encountered a problem with our site during a migration to a new platform and we lost much of link juice. I have noticed on SEOmoz Open Site explorer that our old urls from the old site still exists and many have high page authority. The urls all redirected currently to a 404 page and it is not possible to retrieve the old information For example this page http://www.featuredeco.co.uk/mall/departmentpage.cfm/FeatureDeco/_71989/1 This has a page authority of 32. Is it possible to retrieve the link juice from these pages and channel it on the Kind regards Paul
Link Building | | prano0