Do I get any link juice from a PHP header redirect from another site?
-
For example would:
www.site-A.com/click-tracking.php?site=www.site-B.com
contain any link juice? Would a 301 redirect be the simple solution?
-
Thanks for your help, but I'm not looking for the php solution to this question, my question asks
"Do I get any link juice from a PHP header redirect from another site (domain)?" .
And can you legitimately do a 301 from a PHP page on one domain to another domain, I read on the interweb Amazon does it for their affiliates and it works but would like some professional confirmation.
-
You can use 301 php redirects, for example:
// Permanent redirection header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.newurl.com/"); exit(); ?>
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
-
Anyway to get old back links back?
My site ranked in the top 3 for my keyword for many years until someone hacked into my blog in December 2012, which is a subdomain. Google saw I had malicious malware on my domain and removed my site from being indexed (I think that is the word). Basically, I was no longer in the search engines. My domain and products have been featured on blogs and other places for many years (2 celebrity sites for gift guides), but not many are coming up (actual links with anchor text, not spammy links). I even have one on a friend's site and one in a directory. When I went to Google and put link:www.site.com , I got 1 link. I have seen a few, so I know they exist. Now, I am on page 3 and have not moved from this place since getting it back up in December 2012. For all of 2013, I thought I would have to wait it out, but now, I fear that waiting it out hurt me. Is there anyway to get Google to look further back and retrieve old links? Should I submit the high ranking ones? I am just wondering if I lost all my hard work in the past. Please advise.
Link Building | | tiffany11030 -
How can create links of our website on . edu and .gov sites?
I want to create links on .edu & .gov sites for my website . So, what kind of activities we will do for this process and how? Can you also provide list of .edu and .gov sites for create backlinks?
Link Building | | surabhi60 -
Logistics of getting links removed
I recently got an unnatural links penalty notice from Google. Well, at least it's the type where they say they're only penalizing the links, and not the site. I've noticed lots of links from low-quality sites in my Webmaster Tools, and have been wondering why my site hasn't been ranking better since it abruptly dropped off around October 22, 2012 (I know, that's a very long time ago – I've been neglecting the site for other parts of my business). I'm hoping that if I make an earnest attempt to get these links removed, disavow the others, and submit a reconsideration request, my rankings may improve. So my question is this: How, logistically, do you go about getting all of these links removed? I mean, technically I get it: go through all of the links, try to contact all of those webmasters, keep records of all correspondence, and share that with Google. But how? Are there special tools and services for this? Are there contractors you recommend? I have other things I'd rather worry about in my business than undoing these unauthorized links.
Link Building | | kadavy0 -
Site Published Our Guest Post but Removed the Link Back
I recently developed a nice article for a career site and they agreed to publish it as a guest post. Once they published the article I noticed they had removed the link back to my site in the byline. What is a best way to approach this situation? Would you ask them to take down the article if they are unwilling to link back to your site?
Link Building | | Charlessipe0 -
Where to put reciprocal links on my site?
I am starting a link bulding campaign and want to know where to put the reciprocal links on my site. Do i create a new specific Link Page? or do i place them on the pages that i want ranked higher? This is my first question on SEOMoz. Please be kind....:) Thanks
Link Building | | aidanlawlor1 -
How do I get the most links out of one QUALITY article/post??
Basically we are a small business (2 employees) we don't have the time or resources to be writing hundreds of original quality articles each week (nor do we have the time to write endless guest blogs each week) how do we gain links from one article? (not including poor quality article submission sites) And how do SEO's write so many guest blogs? for the returns on time invested!!! Confused Newbie, thanks in advance!!!
Link Building | | Buzzwords0 -
Links to International Versions of the same site
Hi, our clients' .com site has a link in the header to the .com.au version of their site and vice versa. In effect this creates a reciprocal link on each page. Should we prevent the robots from crawling this link? I don't think a nofollow will suffice.
Link Building | | steermoz70 -
New ways to get links (excluding on site link bait)?
Fellow SEOs, I’m looking for a new way to reach out to bloggers and site owners for links. There are quite a few link bait techniques to lure bloggers thanks to = amazing content, infographics,...but there are not so many articles on ways to contact bloggers/webmasters and ask for links... We all know that contacting site owners directly and politely asking then to place a link on their home page is as useful as a comb in Bruce willis’s hand. Link exchange is as dead as the Dodo and business partner links are usefull and easier to get but opportunities are often limited. I have been organizing contests for bloggers recently and it has been quite successful up to now, but I always like to have a spare trick up my sleeve. So if any of you have a decent method to reach out to bloggers/webmaster and get decent links please let me know, I will be forever thankful ; ) Cheers
Link Building | | ref.price0