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
-
Backlinking and Redirect links
Can anyone properly explain that whats the basic differnce between redirects? and backlinks? my site lottery sambad is getting some 301 redirects, is that good or bad??
Link Building | | Mubashir_Baloch0 -
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 -
Internal Link Building and Link Juice Quality
Hi There! I manage the website for a law office that covers many geographical locations. For very specific niche content, we would prefer to create one piece of content and link to the various geographic locations where we would handle that topic instead of posting multiple variations of the same content for each specific geographical area. If we put a button on these pages that has links to each location, will that have the same "link juice" effect to the pages we're linking that linking directly in the text would? (example: the Where can we help you? button on this page : http://www.zdfirm.com/volkswagen-recall/) Thank you!
Link Building | | ZDAdmin0 -
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 -
Can you get "link juice" from an outside company's/organization's intranet?
Will you get the same "link juice benefits" from a University, Government Org, or public company's intranet that are linked to your webpages – vs the benefits that you would get from links from their public webpages? Assume that the external webpages have very high Domain Authority, MozRank/Trust etc.
Link Building | | MLR0 -
301 Redirect and Google...
Hi all Recently, Google has indexed the landing page url for our product differently. This has just happened. So now, when you used search for "DocRead" you would find the top result being : "http://www.collaboris.com/products/policy-and-procedure-management-software" which is what i want. However, now it's indexing it as "http://www.collaboris.com/products" this page is simply a redirect to our product page as it's part of the menu. If I look in fiddler when requesting http://www.collaboris.com/products I can see its doing a 301 redirect, which is fine. Why is Google storing the wrong url ? I also noticed we dropped in our rankings quite significantly last week.
Link Building | | MarkQJones0 -
Question about forwarding domains and link juice
We currently have a domain that has a small amount of inbound links: http://www.opensiteexplorer.org/www.1800wecoach.com/a!links We decided to switch over to a different domain name, which currently has 0 inbound links. What we were wondering is which would be better: link to the new domain from the old domain in a prominent location on all pages. or forward the old domain to the new domain? does forwarding a domain pass linkjuice?
Link Building | | adriandg0