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 redirects
I am in the process of truncating many of the URLs using a plugin installed on Wordpress. The question is does google penalize or have issues with too many 301 redirects on your site. I have many many products I want to do this with. I thought I read somewhere that 301 redirects should be held to a minimum. Would appreciate any assistance
On-Page Optimization | | xinar0 -
With generic product like screws, for example what is best practice when writing descriptions? It's tough writing unique content for something when the only difference is lengths
With generic product like screws, for example what is best practice when writing descriptions? It's tough writing unique content for something when the only difference is lengths
On-Page Optimization | | Jacksons_Fencing1 -
Frustrated by Google Search Result
We have a page on our website for our review of the "Voltage" shisha flavor by "Social Smoke" (Social Smoke is the brand). Voltage is one of their hookah tobacco flavors. https://www.hookah.org/social-smoke-voltage-flavored-hookh-tobacco/. When I search for "Social Smoke Voltage Review", our page is at the bottom of the first page result. We have a video, decent content on the page, and a review function. We've implemented correct Schema code too: https://goo.gl/iwCP7E. When I use the page grade tool on Moz. Our page ranks B for that keyword but the results number 1 and 2 and 3 on Google all rank C or D. Our video and review schemas don't show up on Google search result either. We have a good community online. Our social media pages are popular. We share the blog posts on the social media accounts fairly regularly too. We have an old and established website. From what I understand we are following all of Google's standards and rules too. What does a website owner gotta do?
On-Page Optimization | | Heydarian0 -
Google Search - One page having problems
this issue is concerning my site - cruvoir.com we retail designer clothing online, and currently have 17 'designer' pages - one for each manufacturer brand name. We target these brand names for our campaign and track the progress with Moz and try to focus them in Google search. Of many of the designer names, we rank pretty well in Google search (usually under #15 when searching for the specific brand. All brands are doing well, except one brand : "Lost And Found" - a designer label we carry. This is the page for this brand name : https://cruvoir.com/5-lost-and-found we cannot figure it out. It happens to be our most important label we carry. when we search for this brand name or include it in any other search terms, we never are in the google search results. I expect it is a crawl issue, but we have covered all our ground in optimizing this brand page. It seems this page is also indexed with Google. But we cannot figure out why it does not rank us in search.
On-Page Optimization | | cruvoir0 -
Competitor's 'hidden' links harming my site?
Hi everyone, I'm new to both Moz & seo, and am attempting to tackle our site's issues after being hit by panda / penguin, so would be grateful for any advice offered. I bought a website 3 years ago after the previous company that ran it went into administration. Having bought the website, it became apparent that the employees of the previous company had copied the entire site content, and relaunched it with a new look / brand. Over the last 3 years they've rewritten much of the content, but there remains a lot of links from their site back to ours which have had the anchor text stripped out, and point to images on our site which have since been removed, example below... <a href="http://www.MyCompany.com/catalog/images/filename.pdf" target="<a class="attribute-value">_blank</a>"><strong>strong>a> What I'm trying to understand is whether the 404 errors being returned by the broken links, and the presence of 'hidden' links on their site, is likely to reflect badly on our site or theirs? I'm not interested in outing anyone here, and I realise the standard recommendation for these kinds of situations is to write to the company telling them to remove the offending content, but if at all possible I'd prefer to fix our site by improving content & links etc, rather than 'force' them to take action and inadvertently improve their own site's content / rankings. As I say, all advice gratefully received 🙂
On-Page Optimization | | Sandy_M0 -
Temporary Redirect
I am having lot of Temporary Redirect on my reports, and all the links points to my ads server (openX). like this: http://ads.espectador.com/mod2/www/delivery/ck.php?n=a04fb31e&cb=138097 Here in this page there is an example.- How can I fix this? Thanks
On-Page Optimization | | informatica8100 -
What's the best way to name an image for SEO?
Hi Guys,
On-Page Optimization | | krseo
I'm thinking about images and SEO. What's the best way for naming and using images in HTML Code? For example: Image-Name: keyword-keyword2-keyword3.jpg or keywordkeyword2keyword3.jpg ?
How many Keywords should I use max for a picture? And also do you use the alt tag as description of the image and the title tag or only the alt tag? If you use the title, what do you use it for? Maybe someone can copy a HTML-Code example for me 😉 Thank you 🙂
Alex0 -
301 redirect and then keywords in URL
Hi, Matt Cutts says that 301 redirects, including the ones on internal pages, causes the loss of a little bit of link juice. But also, I know that keywords in the URL are very important. On our site, we've got unoptimized URLs (few keywords) in the internal pages. Is it worth doing a 301 redirect in order to optimize the URLs for each main page. 301 redirects are the only way we can do it on our premade cart For example (just an example) say our main (1 of the 4) keywords for the page is "brown shoes". I'm wondering if I should redirect something like shoes.com/shoecolors.html to shoes.com/brown-shoes.html In other words, with the loss of juice would we come out ahead? In what instances would we come out ahead?
On-Page Optimization | | BobGW0