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
-
Very old site wanting a revamp - how to handle all the redirects/URL changes
Hi all, I have a very very old site, that requires a facelift (going from an old clunky CMS to wordpress). A problem I know I am going to face is that this site has a very poor URL structure (www.site.com/section/1/section/ etc) which I plan on cleaning up. but how do I handle the 100+ backlinks this website has point to such links? If someone could point me in the direction of an article or such that would be great. Thanks,
Link Building | | Greenroads0 -
Backlink redirects and resulting SEO impact
Hi, Please see the target URLs on the links in this article: http://www.nextgov.com/technology-news/tech-insider/2015/07/government-hacked-yet-again-its-time-make-government-cybersecurity-national-issue/118561/ As you can see, there is a redirect in place, presumably for tracking purposes. Do these links carry full SEO value?
Link Building | | mikekeeper0 -
What is the best way to remove a link that redirects to a spammy site?
I've got a new client and I'm trying to clean up their backlinks. There are several links that all redirect to this spam site http://www.expert-lender.com. All of the websites appear to be real, i.e. http://www.sammorganhomes.com/ but the actual links i.e http://www.sammorganhomes.com/wp-fav/backup/supplement/semitruckleasing.html are in a sub-directory and redirect to the spam site. I don't know if these links were from the previous SEO company or if they paid someone to create these or if these sites have been hacked. Can anyone tell me what is going on here and what should I tell these site owners?
Link Building | | Total-Design-Shop0 -
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 -
I am getting links on people's wordpress blogs but are not showing up on the just discovered tool. Is it true that wordpress links are no-follow links that do give off any link-juice?
A blogger told me that "wordpress.com does not allow blogs to show advertisements or use links to sites that sell merchandise of any kind" is this true? Am i wasting my outreach time trying to get links from wordpress operated blogs?
Link Building | | odegi0 -
How much Page Authority passes?
Hi, I have a little question maybe you Mozers can solve me. I have a friend has a website, highly reputated (Page Authority 73 / Domain Authority 69), actually my website its a 30/17 score. Just have 6 domains roots linking to me. My question is, how much of that linkjuice will pass to me in numbers?
Link Building | | danielpolo0 -
Backllinks to our site but via redirect (still SEO helpful?)
Hi, A large website may link to us but via their internal redirect mechanism. So it would be somthing like this: [If you select the link, it eventually goes to our site but not from the original page. These links would be placed on lots of pages, but since they would all "pass through" the "redirect" page, it seems not as beneficial from an SEO perspective. Is this reasoning correct? Would google still follow the link and see where it ends up, even though it is via multiple pages? Ideally I'd prefer direct link but how much better is it than the redirect as listed above?](/redirect/rd?site=www.oursite.com/page&trackingparam=111111)
Link Building | | NicB10 -
Image only badges giving link juice!?!?
I see some chatter about badges, but no clear definition. A collegue of mine instituted badges on clients website, but these badges are only an image w/ hyperlink; no textual content. He is confident that this has worked successfully before as a link building strategy, which blew my mind. I thought we needed some text, and obviously optimizes anchor text for biggest benefit. Are these simple badges helpful, or do we need some html in there!? He also routes them through bit.ly to track impressions and clicks.. does that have any effect as well? Thanks!
Link Building | | SwissNinja0