Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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
-
Does Plus Sign "+" in url affect SEO and Ranking?
there are customized pages on the client's site, they contain brand pages related to Samsung, iPhone, ZTE, LG, Motorola, and HTC Mobile phones.
On-Page Optimization | | dietsuave
For Example:
https://www.unlockninja.com/unlock-apple+phone
https://www.unlockninja.com/unlock-zte+phone
https://www.unlockninja.com/unlock-samsung+phone
Should I recommend them to change the URL structure. ?0 -
Pages Not Showing Up In Search After Being Indexed....
Hello, I'm trying optimize my google search for local business in Fort Myers, FL area. I've created specific keywords that people are searching and have made my page title and on-page experience reflect this relevency. However, the page isn't appearing anywhere on google search even though search console has stated that the page has been indexed. My question is, how do I trouble shoot this so that I can appear in local search for these search terms?
On-Page Optimization | | scottgray06200 -
Lost SEO contract, new SEO wants us to do the following - can you explain why?
1. Make prokem.co.uk the master domain rather than prokem-corrosion-protection.com 2. Ensure each http URL is 301 redirected to its https counterpart via htaccess rather than in plesk 3. 301 redirect each www.prokem-corrosion-protection.com URL to its co.uk counterpart via htaccess. I can provide a list of pages to redirect as there are a number of duplicate pages that will need removing. It probably makes sense to implement these other changes at the same time: Remove all of the canonical tags currently on the site. Leverage browser caching by following Google’s page speed recommendations - https://developers.google.com/speed/docs/insights/LeverageBrowserCaching Losslessly compress all of the website’s images. Combine and minify the website’s JavaScript
On-Page Optimization | | Simon_VO0 -
SEO - Keyword Salarpuria Sattva East Crest
Hi, I have been doing off page optimization and targetting two key words. Salarpuria Sattva East Crest and Salarpuria East Crest. I have been ranking well on second one. But the 1 keyword in not appearing first page. Can anyone show some light. My website is http://www.salarpuriaeastcrest.home-adda.com/
On-Page Optimization | | mithungowda0 -
On page SEO Strategy / What pages to use?
What is the best page to use for targeting your hard to rank keywords? The keyword phrases in question here are "Acrylic Tank Manufacturing", "Custom Aquariums", & "Acrylic Aquariums" As of right now we have created 3 separate pages for each one of these keyword phrases. http://seaquaticaquariums.com/custom-aquariums for "Custom Aquariums" http://www.seaquaticaquariums.com/custom-aquariums/acrylic-aquariums/ for "Acrylic Aquariums" http://www.seaquaticaquariums.com/services/acrylic-tank-manufacturing/ for "Acrylic Tank Manufacturing" Or are we better of using the home page http://www.seaquaticaquariums.com/ for the our main hard to rank for terms. Generally speaking I would think more people will link to our home page.
On-Page Optimization | | SeaQuatic0 -
What is the right schema.org link for a web design / developer / mobile agency?
It seems strange that a group of web developers would make up an entire structured language to designate businesses by category and somehow forget to include companies like.... web developers. So I must be missing it, what is correct to use?
On-Page Optimization | | yeagerd0 -
How to best use our blog posts for SEO?
My company recently created a WordPress hosted blog. It is hosted completely separate from our company site. The primary domain for the blog is blog.mydomainname.com, but we immediately created a folder within our company website for www.mydomainname.com/blog that has a reverse proxy to the blog itself. I'm curious though if we should consider taking the content from the blog posts and re-creating that within our company website as well? The blog posts are very good SEO rich content, and we always struggle to find new content to put on our company website as it is already. Would like to get some folks thoughts on this. Thanks!
On-Page Optimization | | KHCreative0 -
Google Page Rank of my site has dropped from 4/10 to 3/10
Google Page rank of my website has been dropped after Panda Update. Can anyone help me out to tell me the possible reasons about the same. We have tried to make our website more lively and user friendly. We have indulged some graphics to make it more attractive. But it seems it backfired us. my site is http://www.myrealdata.com as well as Google page ranking of my Quickbooks hosting page has been dropped as well. It would be great if someone can help me out with expert suggestions.
On-Page Optimization | | SangeetaC1