DEV Community

Discussion on: I'm SEO Consultant, Ask Me Anything!

Collapse
 
loukilaymen profile image
Aymen Loukil

Hi Samir and glad to see you here !

First of all, modern JavaScript frameworks are tricky with SEO and indexing in Search Engines due to their client side rendering approach.

The concepts of being indexed in Search Engine is easy :

  • A page should have a unique URL and a unique rendered and visible content
  • A page should load fast.. and yes JavaScript is the first culprit for bad web performance
  • Links on a page should be visible to search engines

Now let's answer the strategy part :

Is it a new website project or existing one ?

1- For new website project : Try to answer this question : Why should i choose a JavaScript framework for this website ? Are you aware of the constraints of such technology ? Aware of the additional efforts /costs for being at the same SEO level comparing to another non #javaScript framework ?

2- For existing website :

  • Your website is not driving revenue ? => Redo it with another tech
    Else:

  • Try to implement an SSR (Server Side Rednering) mechanism in order to serve the content to Search engines. Also speed up your loading times. Some SSR tools : Rendertron, Rendora, Angular Universal (For Angular).

  • Check your rendering with Google mobile Friendly tool and compare the source got by Googlebot with a client based one

  • Check if your pages are getting well indexed on Google (Submit sitemap(s) via Google Search Console and follow the evolution of indexing). For individual pages, you could use site: Google command.

  • Take a part from your content and make an exact match search in Google, your page is showing up in SERP ?

Also check these resources :

onely.com/blog/ultimate-guide-java...
searchenginejournal.com/seo-javasc...