Does show/hide element with javascript impact SEO
-
Hi I am developing an ecommerce site and want to place text on all category and home page. The challenge is that 300 words of text for the pages does not fit into the design appropriately especially on the home page. If I were to use a show/hide element with javascript would this be seen as spam or a trick to the search engines.
I do not think it is spam as it will be actual content for the site and the visitor can view it if they click on the show button.
Would love to hear your thoughts?
-
Thanks, appreciate your thoughts
-
Ennovation and Malcolm are right - search engines will see the entire text, as long as the JS is just being used for show/hide (users without JS enabled will see the same thing).
As long as there is an option to show the text (i.e. it's not completely hidden from users), and the text itself isn't keyword-stuffed or spammy, I can't see a reason why search engines would consider it spam.
-
Google see the text anyway as it is hard coded into the html, the JS is only used on the front end to show the user so they can hide/show the text.
-
You can make with js a expand link or read more....
That will be ok... Search engines will see the entire text where as users will have to click to see the entire text...
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
-
H1 tag positioning impact
Hello, I am currently working with a dev team to develop a new site. We have designed the title tags to sit below a banner image on each page but the technical team are insisting the h1 title tags must come above the banner for maximum SEO impact. I am sceptical about this, can anybody please shed some light and/or share any up to date resource on this? I have attached a side by side wireframe to illustrate the pages with the h1 tags in both positions. Thank you! HnWcLTx
On-Page Optimization | | Popidev0 -
Hiding H1
I'm working on a site that has hidden H1 content. So for example: Video/Film Production with the page using the following codeVideo/Film Productionas the title. there are no other H1 tags on the page. I have taken this up with their dev and they have suggested this has to be implemented this way due to some issues with displaying in iOS. They are digging their heels in and suggesting it stays as is. How much of a risk would you say this is? Well i'm actually looking for a bit of a back-up here.
On-Page Optimization | | MickEdwards0 -
Seo for company services page?
I am creating a site for a Dentist with 30 pages of services in a mega menu. Other than the actual pages should there be a central page with all the services on it hyper linking to each one? Thanks Scott
On-Page Optimization | | scott3150 -
Will changing a site from https to normal http have any SEO impact if we do automatic redirects?
We currently have a site which uses https and want to change to normal http only (for reasons unrelated to SEO). We were planning to do this with a change in our server configuration (we use Nginx, and can automatically redirect https to http). Our site has been around for approx 1 year, so there are links floating around in the Internet which will still be using https. These will be automatically redirected to http. What will be the impact on our SEO? I understand that our webmaster tools account may need to change...
On-Page Optimization | | michaelcho0 -
SEO For Replacement Site
I have a client with a website that has gotten a bit outdated. We've already built his new website and optimized it, but I'm trying to figure out the best way to replace the site while doing the least amount of damage to his current Google rankings. He's ranking #1 for some very competitive keywords that are responsible for the bulk of his revenue, so we want to jeopardize that. We've already built a new site and written all new content, although the homepage page title, h1 header and meta descriptions will all remain what they currently are. I'm also trying to keep the keyword density as close to the current site as possible. I am aware of transferring all existing site URLS using 301 redirects. Can anyone provide any tips that I should use when replacing the site? Should I expect a slight rankings drop or am I worrying about nothing?
On-Page Optimization | | atstickel0 -
Can you see multiple title elements
This came back in my on page grade for this url. http://www.towelsrus.co.uk/blog/choosing-the-right-towels.aspx Avoid Multiple Page Title Elements Web pages are meant to have a single title, and for both accessibility and search engine optimization reasons, we strongly recommend following this practice. Recommendation: Remove all but a single page title element. I can't see it, can you?
On-Page Optimization | | Towelsrus0 -
Is this good practise for SEO: www.example.com/testing-once/testing-once.aspx?
My web developer is telling me that it is best practice for SEO to place your keyword in your URL twice. For Example: www.example.com/testing-once/testing-once.aspx. I'm sure that this is not true, could you please help?
On-Page Optimization | | CoGri0 -
Anyone done SEO with on-page ONLY?
I read this blog post: http://www.seomoz.org/ugc/let-onpage-optimization-change-your-life The author claims they have increased the visitors 50 fold doing on-page seo ONLY. So they just added content, and optimized the site structure. Anyone have seen similar results? Not outreach whatsoever, just adding content to site. Technically, this should be true, article directories has tons of visitors and they were giving out links.
On-Page Optimization | | inhouseseo0