Ad

Is It Advisable To Update Google Meta Tags Dynamically? Does Google Update Meta Tags Like Description And Title If It Is Update Via An Ajax Request?

- 1 answer

I am not using Angular or any js framework. Only updating title and description after the ajax request is fired with the dynamic information. I can see that after 2-3 weeks, few of my pages have this dynamic content but NOT ALL the pages have the updated dynamic meta tags in the google index. How can this be done so that google indexes it properly for all the pages?

I am updating the same in the following way:

Before:

<meta name=”description” content=”Description coming from server.”>

After the ajax request is performed:

  $('meta[name=description]').attr('content','Dynamic Description after ajax success.');
Ad

Answer

Actually this is a way to optimize your SEO ranking, however you have to leave the description for enouph time and NOT change it too much so that will be none-sense change with none effective results, i think it will be fine between 3 days and two weeks... that depends on other SEO contents, links, titles,..etc on the page.

and i am not getting the part of ajax, and why the syntax or programming language you use should take effect, i think there is no problem to change it with ajax or directly with PHP/ASP...

Ad
source: stackoverflow.com
Ad