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
-
Other sites linking to our site through sitewide footers
Hello, We have other sites linking to our site through images in sitewide footers, resulting in a link from every page of each site. Those sites are not owned by us and they decided to link to us on their own. They usually link to us as their "sponsor" or "partner", sponsor as in sponsor of some event and partner as in we sometimes work together on joint initiatives. I've searched Moz forum and other articles, but haven't been able to find an answer to this question. We'd like to make sure Google doesn't consider it to be spammy and we don't get any sort of penalty. Should we ask them not to link to us through those images in a sitewide footer or ask them to simply add "nofollow"? We don't want to remove those links if they are not considered to be harmful and removing them will hurt our DA/PA.
Link Building | | marynau0 -
What are some Boilerplate Link-Building Activities for a new site?
Assuming you have built a new sophisticated site that involves high user engagement as in bounce rate < 30% sophisticated genuine content (pages > 2000 chars) best possible site speed what are some of the boilerplate link building activities you would execute under which considerations? Activities: I am thinking of things along the lines of building X social media links using a fiverr submission to curated link directories reach out for high quality links with thought leaders etc Considerations: I am thinking of things along the lines of keep a constant link gain velocity over the first 3 months make sure you place links across pages not just the root domain make sure you have a mix of follow and no-follow links and a natural anchor text distribution In short I am hoping we can crowdsource a linkbuilding starting guide in the SEO world of 2015. /T
Link Building | | petersocapro0 -
Multiple Links from High Ranking Site Vs. Links from Multiple Domains - What's More Important?
I understand it is important to get links from many quality domains. Currently, I do have links from top domains (PR, Trust) and it I can get more from (high rank) pages on these same domains. Would it be better to focus on expanding my reach (find additional domains to link from) or to continue to build links from the current domains I have a connection with? What is weighted more? I realize doing both is important, but trying to figure out how to best use my time. Thanks! David
Link Building | | DWill0 -
Better to redirect domain or to link from home page?
Hi, I have a niche directory and sometimes clients remove themselves because they have discontinued their business practice. If they sometimes provide me with their own website (as they will no longer use it either), is it wiser for me to: a) directly point their URL 301 to my own directory b) keep their website as is, and add a url link to my directory in their homepage c) keep their website as is, and add an anchored link with the industry keyword to my directory Thanks! D
Link Building | | Demosthenes0 -
How to Earn Links to Boring Pages on Your Site
We do great in earning links to our homepage, articles, linkbait, and resource pages but we get few links to our product pages which are honestly pretty boring. Do you have any advice for increasing links to these important "money" pages? (we are trying to add useful content to make them less boring and unremarkable)
Link Building | | ProjectLabs0 -
Links from Domain Portfolio Advertising Sites
I recently purchased a domain from a someone with a large portfolio and my site's link is still found on thousands of his one page/low quality sites. I find these links on Open Site Explorer but not in WT. Should I ask the portfolio owner to remove the link from his low quality domain advertising sites?
Link Building | | mj7750 -
Do "Sponsored Posts" links get discounted by google?
Do "Sponsored Posts" links get discounted by google? A feture post that is tagged by the site as "featured' or "sponsored" are they discounted as paid links by google?
Link Building | | DavidKonigsberg0 -
Link Building - Natural - My site is the best to rank #1
Hi, I like to ask the mozers. Write here, the link building methods, the most natural way, with 0% spam. Tell us, i make an example, on a small competition on the internet, i see competitors with 100 - 120 backlinks from root domains. Tell us, the best tips, to use and to build 50 - 80 backlinks for a month, on the most natural way, nothing is too much, so write here, demonstrate!
Link Building | | leadsprofi0