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
-
301 Redirect chain
I've got a redirect chain happening
On-Page Optimization | | Libra_Photographic
http > https> https.www. I can't find how to fix this one. My site is on siteground which forces the https at server level and then onto cloudflare. Anyone have any ideas?0 -
Does redoing a homepage impact search rankings?
Hello, all! Does anyone know if redesigning a website's homepage affects search rankings? I'm considering redoing my website's homepage - including rewriting the copy, and perhaps in Leadpages - but I don't want to compromise search. I gather that SEO is a bit of a black box, but am curious to hear others' perspectives before moving ahead. Thanks in advance for sharing your time and thoughts!
On-Page Optimization | | lightsfilmschool0 -
Do Google's mobile friendly updates effect visibility on desktop results pages?
Google say that their quest to make websites more mobile friendly impacts mobile search results - https://webmasters.googleblog.com/2016/03/continuing-to-make-web-more-mobile.html But I am wondering if having a website that is less mobile friendly effects desktop SERPs as well? We require Adobe Flash as a tool for people to upload their images to us but not on the landing pages we're trying to rank. So our landing pages are not as mobile friendly as they could be (which we're looking to improve) but am worried this is effecting desktop search results even though Google do not claim they do.
On-Page Optimization | | KerryK1 -
Duplicate URL errors when URL's are unique
Hi All, I'm running through MOZ analytics site crawl report and it is showing numerous duplicate URL errors, but the URLs appear to be unique. I see that the majority of the URL's are the same, but shouldn't the different brands make them unique to one another? http://www.sierratradingpost.com/clearance~1/clothing~d~5/tech-couture~b~33328/ http://www.sierratradingpost.com/clearance~1/clothing~d~5/zobha~b~3072/ Any ideas as to why these would be shown as duplicate URL errors?
On-Page Optimization | | STP_SEO0 -
Page title in Google search is defferent
Hello, Google changes the title of the main page only for my sites in this way: What I configured: My page title | my site name How it shows in Google: My site name: My page title If I checked some meta tags analyzer it will show my configured page title and also in Bing.com So what do you thing about it. Best Regards, Housam
On-Page Optimization | | anubis20 -
Missing new pages in Search
Hi, We are on wordpress platform with category permalink structure site.com/category/categoryname. To pull in more SEO traffic, we created pages with structure site.com/categorynameand pulled in all the content from category pages to these new pages followed by applying no-follow on category pages within robots.txt. While it has been a week we applied these changes, we still see old category pages on google search with weird description ( A description for this result is not available because of this site's robots.txt... ) How could we make search results to replace old categories links with the new pages? thanks in advance
On-Page Optimization | | COEDMediaGroup0 -
Do search engines look for keywords in the slug?
Is it OK to split a key phrase into a slug and file name, or should the entire key phrase be in the file name. For example, consider the following articles: How to wash your car.
On-Page Optimization | | ChristopherGlaeser
How to change a tire.How to replace a windshield wiper. Will search engines recognize the "how to" in the following taxonomy: www.domain.com/how-to/wash-your-car/
www.domain.com/how-to/change-a-tire/
www.domain.com/how-to/replace-a-windshield-wiper/ Or, should the "how-to" be included in the file name? Best,Christopher0 -
Best Way to Add Google Map to Site
My site is built with WordPress. I want to add our business location in the contact page using Google Map. What is the best way to do this? There is many plugins out there for Word Press do I need to use one ? Hopw about Webmaster tools, does it need to be submit somewhere in there? When it is done properly, will Google show our store location with a map in Goolgle search results? I saw some store result showing the map & business hours, How to do this? Thank you for your help. BigBlaze
On-Page Optimization | | BigBlaze2050