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
-
Should I remove 'local' landing pages? Could these be the cause of traffic drop (duplicate content)?
I have a site that has most of it's traffic from reasonably competitive keywords each with their own landing page. In order to gain more traffic I also created landing pages for counties in the UK and then towns within each county. Each county has around 12 towns landing pages within the county. This has meant I've added around 200 extra pages to my site in order to try and generate more traffic from long tail keywords. I think this may have caused an issue in that it's impossible for me to create unique content for each town/country and therefore I took a 'shortcut' buy creating unique content for each county and used the same content for the towns within it meaning I have lots of pages with the same content just slightly different page titles with a variation on town name. I've duplicated this over about 15 counties meaning I have around 200 pages with only about 15 actual unique pages within them. I think this may actually be harming my site. These pages have been indexed for about a year an I noticed about 6 months ago a drop in traffic by about 50%. Having looked at my analytics this town and county pages actually only account for about 10% of traffic. My question is should I remove these pages and by doing so should I expect an increase in traffic again?
On-Page Optimization | | SamCUK0 -
If I put 'keyword/url' combination to 'stop run weekly', will it dissapear from the summary page in the on-page grader?
The summary page of the on-page grader chooses the keyword and url combination itself. Now if I choose another combination, I would like the former to dissapear from the summary page. The only option is 'stop running weekly'. But will it disappear from the list also?
On-Page Optimization | | jongeneelbv0 -
I'm puzzled
Last week we decided to run a facebook campaign with a small offer, any way cut a long story short. www.specialistsonlinepaints.co.uk was dropped by google when the penguin update took place in 2012, however it has been re included by google but nothing really returned in terms of search results. so our facebook campaign reached over 3k of people according to the stats but no one purchased anything or even clicked to visit the website. am I missing something in terms on onpage, black listing etc? Im at a loss at the minute.
On-Page Optimization | | TeamacPaints0 -
301 Redirect to product page or category?
We manage an ecommerce website that sells health products. A few products have now been discontinued. I’m just wondering what would be the best practice in this case. Should we 301 redirect to a similar product or to a similar category page? ANY HELP IS GREATLY APPRECIATED!
On-Page Optimization | | odegi0 -
Am I cannabalizing my title tags or is there a better way?
I've read some info about title tags and meta, and I'm getting a little confused. If there is a previous discussion that I've missed, please redirect me. thank you. So I have a locksmith and one of his pages is on Auto Locksmith. For every car, I have a page. i.e Acura, Audi, BMW etc. Here is my title tag: Acura Car Keys| Ignition Switch Repair| Key Duplication BMW Car Keys| Ignition Switch Repair| Key Duplication Same for the rest of the different car models on the site. I previously asked a question on here about "What is Cannibalization", and after reading the answer, as well as a full article about it, I think I may be potentially cannibalizing my site with these title tags, though my SEO Moz has not indicated that I am. Should my title tags be instead... Acura car keys| Acura Ignition Switch Repair| Acura Key Duplication for each vehicle page? Additionally, all the Meta Descriptions on each vehicle page read the same as well. Is this correct? We duplicate Acura car keys, repair ignition switches, extract broken keys, replace remotes, reprogram transponder keys and provide emergency locksmith srvc. Lastly, this is for a city, yet I have not placed the city modifier in my tags nor content. Somehow it knows what city I'm in because some of my pages are ranking on Page 1, however other pages are ranking like #188, #257...So I'm just confused. Thanks for any help you can provide. Jaye
On-Page Optimization | | jayestovall0 -
I think my site's HTML is good but I get 22 Invalid markup erros?
Most are all related to things like facebook like buttons and such. I'm using DOCTYPE 4.01 Traditional but no good. Any ideas? www.jaaron-wood-countertops.com
On-Page Optimization | | JAARON0 -
Best title tag structure?
Hi, In the below example, which one do you think would work best if any. The website is called greatshoes.co.uk (fictitious) The category is 'work shoes' and a page under this cat is lets say 'Size 9 work shoes' I tend to build my title tags like this: size 9 work shoes, cheap size 9 work shoes | greatshoes.co.uk BUT I have read on here it should be more like this: size 9 work shoes < work shoes | greatshoes.co.uk Does anyone think it would make a difference when targeting for the term 'size 9 work shoes' which title tag I use. Cheers
On-Page Optimization | | activitysuper0