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
-
My exactly website name is not in google search
my web site tournet.co but when i search that in google , google can not find it in search result . i have to say my website is a new site and its age is 3 month .
On-Page Optimization | | p.farrhad12365410 -
What is the perfect way to handle multiple sitemaps index in Search Console?
Hello friends, I have this doubt for a long and i want to share it with you. In our agency many clients have a PHP template for the home page of their sites, and also have a blog with wordpress as CMS. When i am optimizing sitemaps, I have two separate files, an index of Sitemaps created with Wordpress SEO by Yoast (which inside has separate Sitemaps tags, categories, posts, pages, authors, etc.) and on the other hand the home page sitemap with the subsections. As you know the sitemap generated by "Wordpress SEO by Yoast" is dynamic as it creates the sitemap according to current site content, and is updated every time a new entry is raised or modify any URL. This makes it very practical. I can not have a unique index sitemap sitemaps nesting inside another, as it is not allowed by Google or Sitemap protocol. I read in the Google Support you can upload multiple sitemaps to Search Console but does not say anywhere on upload multiple sitemaps index, or a combination thereof. In my case, I would have to upload two separately files, the dynamically generated with wordpress and the manual created for the PHP template. In my opinion there is no problem and Google will index everything properly performing it this way, but I wanted to share it with you to see how you solve this problem and what experiences had. Thanks and best regards.
On-Page Optimization | | NachoRetta1 -
Search by popular terms
This may be a simple question and possibly already answered to death - but I think i'm not asking or googling the right question so I haven't been able to get a good answer for it. Some websites have a feature at the bottom of their page where one can "search by popular terms", consisting of keywords linked to the search result of that term. Some websites do this: http://www.kogan.com/au/search-terms/ This must be obviously an optimisation technique, but how does this benefit ranking? Are there any down sides to this? Is this still a current good practice?
On-Page Optimization | | central60 -
Redirect
Some time ago I have created a category which I have deleted later. Now seomoz is showing me that its not found, obviously...what would be the best practice to redirect this category to a page? I know that with 301, but how, can I do it when I deleted that category:-(
On-Page Optimization | | VillasDiani0 -
Pages that show in Open Site Explorer that show as 404's in search
When I use Site Explorer to find our Top Pages there are a whole series of pages like this: http://www.nile-cruises-4u.co.uk/mybestbets/mybestbets-culture.html which I think were created when we had a Bulletin Board on the site. Although they are showing in the Top Pages results when you visit the page you get the following error message: HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. What implications result from these pages still showing in results and what action should we take without messing up our search rankings? Any advice would be gratefully received.
On-Page Optimization | | NileCruises0 -
Search form another country
I am searching from india. what is the way so that i can search as if i am searching from US ? OR UK ?
On-Page Optimization | | seoug_20050 -
Redirect sub domain to domain in .htaccessU
Hi all, (Total newbie with fourth post of the last 7 days askin' for help!...sorry!) I've discovered that we have a lot of URLs indexed with for example: http://test.betxpert.com/some-odd-url This gives me duplicate content in the search engines. I have searched the web and i can not find a solution fore redirecting http://test.betxpert.com/some-odd-url to http://www.betxpert.com/some-odd-url. Can anyone help me what to write in the .htaccess file? Best regards, Rasmus
On-Page Optimization | | rasmusbang0 -
Is a Z almost as good as an S?
Possibly seems a strange question, but let me clarify... I have a new site in mind and all the domain names I was considering for it have been taken (I want a .com or a .net if at all possible). However, I can get the domain with a z at the end rather than an s Example: www.keyword-guides.com is taken, but www.keyword-guidez.com is available. Am I completely wrong in thinking that it will still match well for anyone searching Keyword Guide, and should match fairly well (even though it is a partial match) for people searching Keyword Guides. As the keyword is the most relevant bit of the domain, and as the first word on the domain is given the most weight, will having Z instead of S at the end make any difference at all? Personally, I don't really like the Z option, but if it would have no (or little) impact on my SEO efforts, I could live with it.
On-Page Optimization | | Jingo010