TransWikia.com

Can you put all the text in a static tag for SEO but completely re-write the page with JavaScript?

Webmasters Asked by Anton Vusatui on December 3, 2021

Can our website used the trick: putting all SEO data in some tag, but rendering all the web page elements with JavaScript? How would that work for SEO?

May be like:

<div> 
 <a href="/about">Link to about</a>
 <a href="/smth">Link to smth</a>
 <a href="/posts">Link to posts</a>
 <h1> This is a Page about SMTH </h1>
 <arictle> Block, with contains info about this Page. And other Bla Bla Bla. </article>
 And etc.
</div>

2 Answers

Why is there some initial text in tags? If it's there for SEO reasons, then this is hidden text and definitely a bad idea for SEO.

To answer your JS question, it's fine to dynamically populate your page text with javascript. (Google spiders with Chrome, and executes JS).

The issue is really the pre-existing text and why it's there. Does it differ from the text you're adding with JS? Is it keyword rich?

Answered by Bangkokian on December 3, 2021

Yes, Google has stated that they try to crawl the pages like a typical browser, that means by also running javascript and css. Of course, there are some things you have to keep in mind but you can definitely do it.

Answered by Σπύρος Γούλας on December 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP