CSS Hiding Text - Does this matter to search engine crawlers
-
Hello,
I'm working on a site and a developer is using CSS to mask crawlable links below. Then, java, advanced search links go on top of this. So, if you disable Java, but have CSS enabled, you don't have a lefthand nav. With both CSS and Java disabled you have a fully crawlable website.
Is this a red flag? I understand a user without java would have a problem since most people don't disable CSS. But, is this a problem for search crawlers?
Thanks!
-
Google can index and render both CSS and JavaScript, and has an uncanny ability to sort out bad intentions, so if you're trying to mask links with these, Google will (eventually) figure it out. Your developer's assumption is wrong. Google has come a long with with this, and can even index some AJAX content (when JavaScript loads additional content to a page from the server).
Lots of navigation use accordions and other widgets that will display or hide navigation links depending on the page state. That's fine. Just don't go out of your way to hide links.
-
Thanks for taking the time to reply. This is what I thought..,.so you're saying that Google can access/activate the CSS files? I think our developer assumes that Google doesn't activate the styles, so the links underneath would be fine. Thanks!
-
It is, you must serve the same content to user then you do to bots.
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
-
Enabling Podcast for Search / Structured Data
Hi, I'm trying to configure a podcast to show up in search using these guidelines and need help identifying which code to use per these instructions. https://developers.google.com/search/docs/data-types/podcast Out of this, we put the following code inside the header tag of a designated podcast page, and it doesn't seem to be rendering properly when I test it. For this podcast home page: https://www.thepitchqueen.com/podcast-success-unfiltered/ href="http://successunfiltered.libsyn.com/rss"/> <title>Success Unfiltered Podcast</title>Any ideas about what to do? Or if this is correct, let me know?
Technical SEO | | HiddenPeak0 -
PDF Optimization Question: Does URL Structure Matter?
Hi Mozzers: I am optimizing a bunch of PDF brochures within a client's website. Besides the typical optimization tactics I'm applying, (like these) I have a question regarding the file/url structure of the PDFs themselves. By default, the client is locating PDFs in an 'uploads' folder of their Wordpress site. So, a typical PDF might have a URL such as: https://www.Xyzinsurance.com/xyz-content/uploads/2015/06/Brochure-XYZ-Connect.pdf My question: is there any advantage in eliminating all these sub-directories and moving the files into a main folder, simply titled '/brochures' ?? Any insights or conjecture would be welcome!
Technical SEO | | Daaveey0 -
Sitelink search in google search for Brand name redirect me to 404, how?
Hi All, When I search my brand name in google and in google search result my site appears with sitelink and in site link there is option of search when I search any keyword in that search then that search redirect me to 404 page of my site. I found I have implemented wrong schema at category page for search action and then I fixed the bug but 5 days passed away still google showing 404 of my search action. I have not implemented schema for search action at homepage. Now please let me know what is the issue?
Technical SEO | | amu1230 -
Hide mobile content element
Hello, We are optimizing our mobile (responsive) website at this moment and we want to change some elements on the productpage of our webshop in order of rank. This is the outcome of a data analysis which proves a change in rank of order will result in a higher conversion rate. No doubt. By technical limitations there is no other option but duplicating the element 'product description' in the source of the page to be able to show in on the spot on the product page we like to. Because our webshop is responsive we can not just move the element to the right spot for mobile because the tablet and desktop version then will change as well. My question is: will it be a problem for Google if we hide the original element of the product description on mobile pages by using the bootstrap class "hidden-xs" and duplicate it on another spot in the page to show it with the "visible-xs" class? My concern is that this will create duplicate content and hiding content for Google is not particularly good. On the other hand, I think Google is smart enough to understand that this is not to manipulate visitors or rankings, but this is only for a different look of the mobile website. I hope you guys can give me some good advice.
Technical SEO | | MarcelMoz
Thanks in advance.
Marcel0 -
Question on Google's Site: Search
A client currently has two domains with the same content on each. When I pull up a Cached version of the site, I noticed that it has a Cache of the correct page on it. However, when I do a site: in Google, I am seeing the domain that we don't want Google indexing. Is this a problem? There is no canonical tag and I'm not sure how Google knows to cache the correct website but it does. I'm assuming they have this set in webmaster tools? Any help is much appreciated! Thanks!
Technical SEO | | jeff_46mile0 -
Can changing a host provider impact search rankings?
I was wondering if changing my host provider would impact my search rankings on the major search engines?
Technical SEO | | bronxpad0 -
CSS for SEO - can search engine see the text in the body?
We use CSS to arranging (absolute positioning) our content to makes it easier to crawl. I am using your On-Page Keyword Optimization tool and other tools to check our pages (i.e. http://www.psprint.com/gallery/invitation-cards), to make sure it works. For the “On-Page Keyword Optimization” tool, it gives a petty good grade (I guest it sees the text in the body). However, when I am using other tool to test the page (e.g. http://tools.seobook.com/general/spider-test/) it could not see the text in the body. Did we do something wrong? Thanks Tom
Technical SEO | | tomchu0 -
Does it matter if my domain has a .com .org. net extention?
Hi, Does the domain extention ie. .com .org. net effect the chances of me ranking in search engines. Is there a prefrence or does it not matter? Thanks Yaser
Technical SEO | | yaser0