S L
S L

Reputation: 14318

effect on SEO on changing the title of page dynamically using javascript

Where would be the location of webpage, (on server or client) when a search-bot crawls it.

And another question is if I dynamically change the title and meta-keyword of a webpage, how will it affect the search engines?

Upvotes: 1

Views: 2163

Answers (1)

Pascal MARTIN
Pascal MARTIN

Reputation: 400972

A crawler is pretty much like any other basic client :

  • it'll request the page from your server,
  • download it,
  • and look at it localy

This is exactly like when you're requesting that same page from your server using firefox, and reading it in firefox (except "firefox" is replaced by "crawler")


If you dynamically change something :

  • If that modification is done server-side, the page that's downloaded by the crawler will contain this modification.
  • If the modification is done client-side (Javascript, typically -- like you're currently doing), chances are high the crawler won't see them : crawlers don't typically really interpret Javascript.

Upvotes: 4

Related Questions