Trying to determine if either of these are considered cloaking
-
Option 1) In the browser, we use javascript to determine if you meet the redirect conditions (referrer not mydomain.com and no bypassing query-string). If so, then we direct your browser to the subdomain.mydomain.com URL. Googlebot would presumably get the original page.
Option 2) In the browser, we use javascript to determine if you meet the redirect conditions. If so, we trigger different CSS that hides certain components of the page and use javascript to load in extra ads. Googlebt would get the unaltered page.
In both scenarios the page content does not change. However, the presentation is different. The idea is that under certain conditions users are redirected to a page with more ads. The ads are not too severe on the redirected page and will not cause an above the fold penalty. That said, will either option be considered cloaking by Google?
-
Matt Cutts has discussed this pretty well. Cloaking means specifically showing something different to Google than to the user. Hidden content is not specifically cloaking, it is a different issue altogether.
If I had to choose between the two options, I would choose the second. The 302 redirect can be problematic. You should assume that Google is going to find BOTH of these and execute the javascript appropriately. Just don't make anything on your site behave differently specifically for Google.
LivingSocial and Groupon both do javascript redirects and are not suffering the consequences, so I think you should be fine too.
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
-
Revolution Sliders - Still considered bad for SEO in 2018?
Hi guys, I have a question about revolution sliders. Are they generally speaking still technically considered to be bad for SEO? I've done some research on this topic however most of the information I can find dates back to around 2009-2012, when sliders were mostly java and flash based. It seems that back then they were considered to be bad for SEO. Is this still the case? We use revolution sliders because it's easy for us to overlay text and because it scales to mobile automatically. It also allows us to put alt texts and image titles in there - we don't use them for the purpose of sliding images. Would there be any technical reason why a slider would be considered bad for SEO?
Intermediate & Advanced SEO | | rswhtn0 -
AngularJS - What To Consider?
Hi all, I have a website which is going to be rebuild in AngularJS. It's a massive website that recieves a lot of traffic. As I am new to AngularJS and with less programming knowledge, I am not 100% confident about how to go about it. I am requesting MOZers to please point me in the right direction to get the SEO right. What are the things to take care of? How it will impact the search engine rankings etc.
Intermediate & Advanced SEO | | Malika10 -
Progressive JPEGs. Wondering if I should consider it OR not?
Hi all, I am pretty new to the concept of progressive jpegs so don't know much about it. I believe for a webpage with small images (under 10Kbs) I probably shouldnt worry about progressive jpegs but i do have some images for the size 250+ KBs. Should I go ahead and turn it into progressive from baseline?
Intermediate & Advanced SEO | | Malika10 -
Suspected hacking - Google has detected that some of your pages may contain hidden text or cloaking
I got below message from google, But I did not see any hidden text, Please check it. http://www.astrologerravisharma.com/: Suspected hacking Google has detected that some of your pages may contain hidden text or cloaking, techniques that are outside our Webmaster Guidelines. Specifically, we detected that your site may have been modified by a third party. Typically, the offending party gains access to an insecure directory that has open permissions. Many times, they will upload files or modify existing ones, which then show up as spam in our index. Sample URLs: http://www.astrologerravisharma.com/ http://www.astrologerravisharma.com/about-us/ http://www.astrologerravisharma.com/achievements/ Recommended action Clean up the hacked content so that your site meets Google's Webmaster Guidelines.
Intermediate & Advanced SEO | | bondhoward0 -
Site has no SEO done on it. It wasn't considered during design. What to do first ?
They opted for videos to explain to people what the website is about, but it ain't working for them. What steps would you take in order to get this site to rank higher without completely changing the design(changing design is out of the question they are low on funds). They also built a blog on wordpress.com and added a .me domain to it. For obvious reasons I'm not mentioning the website.
Intermediate & Advanced SEO | | ternit0 -
Can pages compete with each other? Inbound links & domain authority, How to determine problem areas?
Heyy, I'm having some pretty big SEO issues. 😞 We have had some drops in our ranking. We're 5th page or worse depending on location for a few of our keywords that we used to rank well for. There are all sorts of random non relevant sites outranking us for the term "stickley" and "stickley furniture" One thing I noticed is that we are ranking for a different page for each keyphrase. Our home page is ranking for "Stickley" and our stickley page is ranking for "Stickley Furniture" Is this normal? I guess Google is just picking what it see's as what's more relevant. Is it possible that these two pages are "competing?" Do similar phrases linking to different pages cause pages to "fight" or unevenly disperse link juice? I'm having trouble knowing which page I should send inbound links to since Google seems to be linking similar keywords to different pages. How much should I stress about which pages I receive links on? Is it true that any inbound link to a site site will help increase its overall domain authority and overall SEO? What should I be focusing on? I've added 301 redirects for non WWW as well as tried to make the pages well optimized for SEO. Should I just add more related content to the pages? I know backlinks are important but I'm having a really hard time figuring out how to get links that aren't just spammy forum post footers or junk directory submissions. The thing that bothers me is we were ranking well and then suddenly are way back. We have never done any black hat SEO of any sort. I feel a bit stuck and confused at the moment 😞 Thanks in advance for any help!
Intermediate & Advanced SEO | | SheffieldMarketing
-Amy0 -
Trying to understand why it happened
Hi there, Quite a lot of my keywords that were on page 1 for quite some time have just been pushed below page 5 on Monday 04/06/12 all at the same time, however some are still on page 1 maybe dropping a rank or two. The link building for these keywords have been pretty much the same, using blogs, product reviews etc. As a precaution I ask bloggers to take a lot of my links off as they were site-wide and keep them on homepage only, is this what has had the negative affect? please note Some of the keywords that were on page 1 and now page 5 were not part of the site-wide activity. Please help!
Intermediate & Advanced SEO | | Paul780 -
My website keywords have been almost completely taken out of indexing in Google since 04/26/11 and I cannot determine why, anyone know?
I had 12 to 15 1st page Google rankings in the iPhone, iPad, app review vertical. As of 04/26/11 I have lost all rankings, traffic has gone from 1,000 to 1,200 a day to 150 to 350 a day. I was using a plugin for auto press releases, but have removed this and deleted the urls. I also have changed themes and hosting over the last 3 weeks. I have been trying to get SEO help, but cannot seem to get anyone to help me. thank you Mike
Intermediate & Advanced SEO | | crazymikesapps1