Drupal SEO - Concerns about cloaking
-
It appears that core Drupal includes a CSS style that automatically generates an
tag for any* or
> ## Main menu This uses the CSS to create a 1px1px header with that text that is absolutely positioned in the top left hand corner. Essentially, hidden and unreadable to humans and presumably also useless to even screen readers. There is some discussion of the reasoning for including this functionality as standard here: [http://drupal.org/node/1392510](http://drupal.org/node/1392510 "http://drupal.org/node/1392510") I'm not convinced of its use/validity/helpfulness from an SEO perspective so there's a few questions that arise out of this. 1. Is there a valid non-SEO reason for leaving this as the default rather than giving ourselves full control over our ## tags? 2. Could this be seen as cloaking by creating hidden/invisible elements that are used by the search engines as ranking factors? Update: http://www.seobythesea.com/2013/03/google-invisible-text-hidden-links/ Google's latest patent appears to deal with this topic. The patent document even makes explicit reference to the practice of hiding text in ## tags that are invisible to users and are not proper headings. Anyone have any thoughts on what SEOs using Drupal should be doing about this?
-
Thanks Mike.
We're going to run with it for a while on one of our sites and see how it performs. I'll try and post any meaningful results here at a later date.
-
I was really concerned when I started developing in Drupal 7 and noticed that many themes had this programmed in.
Although I have not performed any specific split test on taking this out I had not noticed any misfortunes or penalties by having it in the template as you have stated. I also crawl my sites many times over with different tools and I have not received warnings etc.
Nonetheless I moved over to the Omega Theme, which is responsive, and the semantic programming is much better for my taste.
-
Thanks Corey.
It's certainly something that had us a bit worried.
The maximum number of hidden H2s on our Drupal pages is something like 2-3, and in each case the H2 serves to provide a description for the following ul/ol HTML tags (which it can be argued is just good semantic markup). If this is the case, could it still be penalised for cloaking? Essentially, is cloaking seen as an absolute practice in the eyes of the Search Engines or is it more subjective? Is a site penalised for appearing to use cloaking methods in a black and white sense and in lines with certain criteria or do they rate this by degrees?
(I realise they are questions we might not be in a position to know the answer to.)
I'm still in two minds about seemingly wasting 2-3 H tags by having them wrap around "main menu" content on seemingly every page. As it stands, they are automatically generated around our breadcrumb and our main menu buttons at the top of the page and are used to simply describe the menus on the page.
My worry is that even if this is not having a negative impact re: cloaking it is still a waste of H2 tags. If we have these 2-3 just describing the menus (that are global) and a further 1-2 describing the actual content of the page, then this is not really ideal from an SEO point of view.
In our case, I wonder if it might be worth sacrificing semantic structure for the SEO benefit?
Thanks.
-
These topics are always a little subjective, but here's what I'm seeing.
1. Screen readers (used by the blind) do like 'H tags'. And Google does give preference to sites better that are more likely to be handicap accessible. From what I see, this isn't an ideal use though. For example, if you can end up with 200 x H2 tags on a page, I'd say this is wrong.
Keywords placed in 'H tags' are also given more weight in a page's ranking. So, if the # of H tags is abused, and your page provides near nothing but H2's, it's not unreasonable to suspect that Google thinks you're stuffing keywords into the second-most powerful tag that can go into . It seems that Google does more to go after these kinds of possibly manipulative practices than they do to award the positive: far more often people shoot themselves in the foot. And this seems to, at very least, make that a lot easier to do. A page should generally have a single H1 at the start, and a small handful of relevant headings marked H2 - H6.
2. I'd again be a little wary. Text in the source that's not visible to the user is the definition of cloaking. As AJAX has gotten more popular, you do see more prestigious sites hiding content with JavaScript, and very slowly (that is, much slower than mainstream development), Google seems to adapt to these kinds of evolutions. But hiding everything by default in a CSS class? I'd personally avoid that, and if I saw it on a client's site, it would sit high on my list of things to tweak and test.
Hope something solid gets sorted, and then extensively A/B tested in production. Drupal is a good application; it still blows my mind that people still need to write SEO plugins / hacks for literally every application out there. It gives us SEO's a little more job security that these technical problems are almost never fully tackled at the source.
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
-
Location of body text on page - at top or bottom - does it matter for SEO?
Hi - I'm just looking at the text on a redesigned homepage. They have moved all the text to the very bottom of the page (which is quite common with lots of designers, I notice - I usually battle to move the important text back up to the top). I have always ensured the important text comes at the top, to some extent - does it matter where on the page the text comes, for SEO? Are there any studies you can point me to? Thanks for your help, Luke
Web Design | | McTaggart1 -
Mobile and SEO
We are in the process of building a responsive version of our site for mobile users (currently about 20% of total traffic). What are the most important SEO considerations we should be aware of when it comes to this kind of project? Thanks
Web Design | | halloranc0 -
Having a second homepage for a site would affect my SEO?
Hello guys, One of our clients is planning to have a new landing page for any users hitting the site for the first time. (returning users will still see the current homepage based on cookies ... in other words, the site would technically have 2 home pages). According to this client, they are planning to do something like this: https://www.websitename.com/ (for returning visitors) https://www.websitename.com/newuser (for first time visitors) Our instinct is that is not great to have 2 home pages (that would affect the SEO campaign we are managing for this company) and we are not sure how to handle this. That's why we would appreciate your opinion regarding this topic: From an SEO perspective, do you think this is a good idea? If not, what would you guys do differentiate first-time visitors vs returning visitors without affecting SEO? Maybe just a pop-up? Thanks in advance for your help !
Web Design | | Robertnweil10 -
International SEO issues for multiple sites
We currently have 3 websites: oursite.co.uk oursite.fr oursite.ch We also own Oursite.com, and that URL currently redirects to Oursite.fr. We are considering a complete site redesign and a possible merge of the 3 sites. Assumptions: ** the 3 sites currently receive organic search traffic to varying degrees
Web Design | | darkgreenguy
** Oursite.ch is almost identical to Oursite.fr in terms of the site content
** Our target market is NOT the USA for English-language searches. It is the UK. With a re-design, we see our options as follows: Merge the 3 sites and make Oursite.com the "main site" and then have subfolders as follows: /uk /fr /ch Keep the 3 sites as they are. We see Option 1 as the best in terms of saving time when updating the site, and saving money paid to the site developers (1 site vs 3 sites). We see Option 2 as the best in terms of ability of the site to rank, as well as confidence of searchers when seeing our site in the search results (in other words, a person searching in France would be more likely to buy and/or submit a form on our site if they saw Oursite.fr vs Oursite.com/fr). I guess we're looking for some suggestions/guidance here. Are we missing any big issues? Does anyone have experience with an issue such as this? Thank you in advance...
-Shawn0 -
Video SEO?
What is the best way to get SEO benefits from video? Which service is best? YouTube, Vimeo or any other? Or is best just to upload direct to my own site? But then how would I handle mobile devices i.e. iPad and iPhone? How does one go about marketing a video? Thanks
Web Design | | bronxpad0 -
Website using javascript to serve up content - SEO Friendly?
I'm checking out a dentist website http://www.sagedentalnj.com/ I was referred by a friend so just taking a little peek at it. When you click on the menu items, the url at the top doesn't change. When you view source, the page titles are all the same. when I do site:http://www.sagedentalnj.com/ none of his pages are indexed by google. What can be done with his site so that google sees his pages? Maybe submit sitemap?
Web Design | | Czubmeister0 -
Lazy Loading Content and SEO
I'v been seeing a lot of websites use a technique to present content to website visitors when the scroll down the page called "Lazy Loading". Does this hinder SEO and indexing since the content is not actually on the page until the user acts/requests it?
Web Design | | JusinDuff0 -
How to make AJAX/javascript website more seo friendly?
I have a website that is heavy on AJAX. I need recommendations on how to add content as well as other on page ompitizations. The website is a luxury brand for 6 resorts, each with their own subfolder. The website is http://me.graficode.com/preprod/.
Web Design | | Melia0