What's the Best Way to Hide Redirects from Search Engines?
-
Hey everybody,
I like to use php redirects for affiliate links so they look better. I keep them all in the same directory. I read recently that these may hurt SEO.
A couple quick questions:
Is this the best way to redirect affiliate links?
Should I simply block the directory in robots.txt?
Any other suggestions from you SEO guyses and galz?
Thanks!
Jared
-
Hey William,
By "looks better", I have been taught that when people (especially marketers) hover over a link, they check out where it takes them by looking at the bottom left of the browser before clicking it.
The redirect makes the URL more friendly to click.
-
Hey Jared
I am guessing you are using
header('Location: http://www.example.com/');
Which triggers a 302 temporary redirection which as we know passes nothing.
I have seen this on other bespoke sites and even on some older shopping cart scripts etc and never seen it hurt anything from an SEO perspective. That's not to say it doesn't, but I have never seen it when it is used in this way. It's for an external link as well so I would not worry about it too much.
This is one of those things, you want to preserve these links, I am guessing you want to hide them and this solution kind of meets your goals.
Really, if you had lots of links to pages you want to pass page rank or anchors into, or you were being linked to in this way, then the 302 would be a negative thing as no anchor or link juice is passed down the link. But, in this instance, I really can't see it doing any harm.
Happy to take a look at the page and provide some more targeted feedback if it helps.
Marcus
-
Yeah isn't there tools to put the link through for that?
-
I think he means that by masking the link it makes hoplink theft more difficult, and also savy users would be less aware that the links are in fact affiliate links.
-
Well, if you don't want Google to see the list, then blocking the page with robots.txt is your solution.
But if it is a valuable list of resources it may be worth showing off that people use it.
In either case I'm not sure you want to use a php redirect. You could use No-Follow if you actually don't want to vouch for that site. But, I guess that all depends on what the site is.
I am a little confused by what you mean when you say "they looks better."
-
You should be using redirects as a means of masking your affiliation from the site visitor, not from search engines. I can't see anything wrong with using PHP redirects, but do them to prevent hoplink theft, as there's no actual SEO advantage since Google can see through redirects.
-
Just a guess from me here, but I don't think hiding redirects from a search engine would be a good idea at all. I mean, we know they really don't like us trying to hide stuff from them whether it's keywords or anything else. Not sure how that would work out, or what the chances of anything bad happening from it would be, but I would assume that if Google thought people were doing it, it would soon be in their webmaster guidelines as "Don't". But again, complete guess, I don't know enough about it to say anything for sure.
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
-
MOZ identifies duplicate titles - one has' www' in the title
MOZ has identified duplicate titles - one has' www' in the title. - we have a few pieces of content where the same thing is happening. Not sure how this has happened. Should we do something about this? Will it cause problems for ranking? | KETAMINE GUIDE FOR DRUG WORKERS - free | Harm reduction informationhttp://substance.org.uk/harm-reduction-information/ketamine-guide-for-drug-workers-free | 13 | 2 |
On-Page Optimization | | Substance-create
| KETAMINE GUIDE FOR DRUG WORKERS - free | Harm reduction informationhttp://www.substance.org.uk/harm-reduction-information/ketamine-guide-for-drug-workers-free | 13 | 4 | 1 - 2 of 20 -
Changes taken over in the SERP's: How long do I have to wait until i can rely on the (new) position?
I changed different things on a particular page (mainly reduced the exaggerated keyword density --> spammy). I made it recrawl by Google (Search Console). The new version has now already been integrated in the SERP's.Question: Are my latest changes (actual crawled page in the SERP's is now 2 days old) already reflected in the actual position in the SERP's or should I wait for some time (how long?) to evaluate the effect of my changes? Can I rely on the actual position or not?
On-Page Optimization | | Cesare.Marchetti0 -
Redirect Code Needed.
Hi, Please help me redirect the following pages in htaccess. https://www.mydomain.com/FolderA/FolderB/number-of-pages.html to **https://www.mydomain.com/FolderA/FolderC/FolderB/number-of-pages.html ** I want to redirect atleast 50 pages like this. Please help Thanks
On-Page Optimization | | Kashif-Amin0 -
Redirects for new site new urls?
If redoing a site and updating some of the url's for SEO should you do permanent redirects for the old sites url's ? Using WordPress. I saw that the Yoast Pro plugin allows you to do this inside WordPress , is this the best way? Suggestions.? I know there are old articles written out on the web pointing back to the what will be soon old url's so just wondering what's the best way to go about this. Thanks Scott
On-Page Optimization | | scott3150 -
What's the best Magento Community blog extension?
We are looking at FishPig's Word Press Integrations extension. has anybody used it? Possibly a dumb question, but is SEO adversely affected by the fact it's a WordPress extension on a Magento site?
On-Page Optimization | | Anne_Marie_English0 -
Best schema.org wordpress plugin?
Dear all,
On-Page Optimization | | plcarrara
Im doing SEO for a finances website, and Im struggling to find a schema plugin for wordpresss that would contain "News Article" schema. Can you give me a hand with this? Best regards. Pablo0 -
International Website(s)
I have an e-commerce site currently selling in Canada and am now looking to branch it into the USA. We have both the .ca and .us domain names, but I am not sure what the best approach to this would be. If we put up a website on the .us domain name it would be virtually the same.. So I would assume we would have a duplicate content issue. What would be the best way to approach this type of situation?
On-Page Optimization | | wishmedia0 -
Why there's a full-stop in the title of SEOMOZ's home page?
Hello, I see there's a full-stop (.) in the title of SEOMOZ's home page. Why is it so? Regards
On-Page Optimization | | IM_Learner0