: Is hiding content with JavaScript or "text-indent: -9999px" bad for SEO? So apparently hiding content using "display: none" is bad for SEO and seen by googlebot as being deceptive. This according
So apparently hiding content using "display: none" is bad for SEO and seen by googlebot as being deceptive. This according to a lot of the posts I read online and questions even on this site.
But what if I hide keyword rich text using javascript? A jquery example:
$(function() {
$('#keywordRichTextContainer').hide();
});
or using visibility hidden:
$(function() {
$('#keywordRichTextContainer').css({
visibility: 'hidden',
position: 'absolute'
});
});
Would any of these techniques cause my site to be penalized? If googlebot can't read javascript then if I'm hiding through js it shouldn't know right?
What about using "text-indent: -9999px"?
More posts by @Dunderdale272
2 Comments
Sorted by latest first Latest Oldest Best
It's not the technique, it the reason why you're doing it that matters. Based on your question you're clearly doing this to manipulate your search rankings. So whether you use JavaScript or CSS it's still cloaking and still against the terms of service of the search engines. Cloaking gets you banned if you get caught.
So, instead of trying to cheat the system, and everyone else looking for quality content, why not use the time you spend trying to cheat the system to create quality content that will naturally help your rankings?
It's only deceptive if there is no decent reason for it - Google examines html, javascript, and jQuery, to look for cloaking and if it detects anything like the above it will ban you.
Standard techniques like text-indent are not problematic. Just write some good content.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.