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
-
Fitness- china.com 301 Redirects
After I switched to 301, will the backlinks obtained by the previous domain name be transferred to the new URL? our Weight Machine new URL https://www.fitness-china.com/weight-machine
Link Building | | ahislop5740 -
Should my URLs with or without a slash? And how to avoid multiple redirects?
Moz, I am noticing that I need to go back and update my outbound links to your site. There are a lot of them because your content is so great and we love you guys. Could you explain your logic for making the change? Example on my Schema Markup Website Audits page: https://moz.com/blog/state-of-searcher-behavior-revealed/ redirected to: https://moz.com/blog/state-of-searcher-behavior-revealed
Link Building | | jessential0 -
Subdomains, blogs and redirects, oh my!
Hello! We are currently hosting our blog on Medium which I would like to move away from. The options now are to host the blog with our custom CMS or use the HubSpot blog capabilities. I know their blog has built-in SEO best practices but I'm pretty sure it hosts the blog on a subdomain. I keep getting conflicting advice on this. In a whiteboard Friday Rand once said to NEVER host on a subdomain. But I know that google now associates links that redirect to the original site. I.e. If redpepperland.com redirects to repepper.land then redpepper.land should have all the link juice of redpepperland.com, right? But Moz doesn't recognize any inbound links to redpepper.land, I have to actually put redpepperland.com in as an additional site to see those links and the domain authority which worries me. So I guess two questions: 1. Does anyone have experience with Hubspot's blog? Will the subdomain hurt our SEO efforts? 2. Does google now know how to associate a redirect's link juice and domain authority to the page it redirects to? Not sure I know what I'm talking about at all but any help would be greatly appreciated!
Link Building | | redpepperland0 -
Company is spliting up and moving to new domains, trying to keep link juice going forward
A company I am doing SEO work for is splitting into 3 and will be hosted on three separate domains. I am getting 2 of the 3, however, I am not getting the domain that has most links going to it. What is the best practice to carry any link juice going to my divisions to the new domain names? Should I contact sites linking to my divisions content on the old site and ask them to link to my new sites? Should I do 301 redirects to help carry links to my new sites? Also, I found this guide in moz http://moz.com/blog/seo-guide-how-to-properly-move-domains its from 2009, but is this still considered the best practices for moving to new domains or is there an updated guide I should be using?
Link Building | | T-wrench0 -
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 -
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 -
Backlinks Redirected Temporarily (New to Old)
I have a website of which we are being forced to change the domain name and soon after give the control of the domain name to the corporate office. The corporate office will eventually put a new website up on it. We would like to build more backlinks without the threat of losing all of these backlinks to the corporate site. We were considering to start building backlinks to the new domain with temporary redirects to the old domain but have recently been advised against doing this (threat of Google looking down on this technique). Should we continue to build back links to the old domain, or should we 302 redirect the links to the old domain? Any advice is greatly appreciated!
Link Building | | wishmedia0 -
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