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
-
Snippet showed in google search is not from metaDescription
This is my page https://www.collegehippo.com/graduate-school/programs/top-ranked-masters-degree-museum-museology-and-curatorial-studies The metaDescription is | |
On-Page Optimization | | etattva
| name="description" content="Master's degree in Museum, Museology and Curatorial Studies is offered by 49 American universities. New York University had highest number of international students receiving a Master's degree. Johns Hopkins University had the most women graduates in this program. Job outlook for Museum, Museology and Curatorial Studies Museum, Museology and Curatorial Studies is projected to grow 13 percent from 2016 to 2026, faster than average for all occupations. Median pay for Museum, Museology and Curatorial Studies in 2018 was $53,360. The number of jobs were 11170. Check out best universities offering online Master's program in Museum, Museology and Curatorial Studies "/> |
| | | But when I see the page in google search results for (museum studies graduate programs), This is how it appears in the search results. It is showing the breadcrumbs from the page.I am not sure why is google is treating the page like this. It was not like that 5 months back. Nothing much changed in page and google is displaying the page content like this . How can I fix this?
0 -
Do Search Engines Try To Follow Phone Number Links
Any SEO thoughts on using rel="nofollow" when inserting a link to a phone number? To make a phone number click to call we use (555) 555-1234 Wondering if search engines are trying to follow that link or if this is standard and not to worry. Any thoughts on if I should add rel="nofollow" to these or does it not matter? Thanks!
On-Page Optimization | | Lions-Pro0 -
Directories and Search Engine Site Submissions and Technorati Tags Important?
I use a wordpress for out website 50campfires.com and we have a site map set up along with google analytics and web master tools. I believe wordpress automatically sends information to the search engines with changes in the site map. Do I need to submit to search engines manually once a month? Is directories like DMOZ still relevant with SEO today? And what are your opinions on Technorati Tags? I never heard of them before reading this article. I m new to SEO and any insights are helpful. 2Sqv5C2.png EEQFpIx.png 2Sqv5C2.png
On-Page Optimization | | revonick1 -
301 twice redirect (no negative)
Can i made twice 301 redirect, because i got "droped" domain and i dont want negative effect to new website. Can i redirect users some other way with no negative effect for fresh website?
On-Page Optimization | | cerar0 -
Meta description not showing in search results
Hi, One of my client's websites is not showing its Meta descriptions in search results. I've looked at the html and have noticed that they are using ' rather than " around the description tag (see below) <meta name="<a class="attribute-value">description</a>" content='<a class="attribute-value">Student Accommodation in Portsmouth or Southampton - Fully Furnished Studios, Close to the Universities. All Inclusive Rent with WiFi. Going Fast, Book Now!</a>' /> Is this likely to be the problem, or am I missing something very obvious? The website is http://www.unilife.co.uk/ Many thanks, Ben
On-Page Optimization | | bendyman0 -
Outgoing Links Best Practice
Hi, It is my understanding that it is good practice to add relevant out going links to my content pages. I do not intend to over do it and the out going links I intend to add would be useful for the reader. My question is do I need to add noindex/nofollow tags to these links? Does it make any difference either way or can I just leave them as index/follow links? Thanks
On-Page Optimization | | UnderMe0 -
What is the Best Landing Page setup?
I have seen a few different types of landing pages. I am trying to figure out which style works best from a SEO perspective. 1. The cram everything possible onto the page approach ala nyt.com? 2. The fill your home page with a ton of links approach like cnn.com? 3. The put just a small sample of your content approach like seomoz? I see 4 blog snippets, a "Go To My Campaign" call to action and that's it. 4. Pages like Groupon.com which have 100% focus on a call to action. I also notice many focused pages like Groupon remove the header and footer on their landing page. Does that help the page retain it's PR better?
On-Page Optimization | | KevinPatrick0 -
Best URL Structure For Products That Are The Same
I know that the url structure is very important for seo preferably using the keyword. But is it okay to have the same url with the product number at the end ? Each of our products have a name with a product number. Or will this cause to many similar urls? or if the folder is the name of the product that needs to be optimized, can the page just be called the product number? Example: Say you have a 20 different product lines and they are all catagorized in the appropriate folders, and need to be optimized for the actual product name. XXX (folder name ) WWW-PR-123 WWW-PR-1234 WWW-PR-12345 WWW-PR-123456 what would be the best url structure? Can they have the same begining? The product name? something like: www.example.com/xxx/www-pr-123.php www.example.com/xxx/www-pr-1234.php or www.example.com/xxx/pr-123.php www.example.com/xxx/pr-1234.php
On-Page Optimization | | hfranz0