Skip to content Skip to sidebar Skip to footer

How To Index Dynamic Pages To Google Using Html5 Pushstate Method?

I am building a fully jquery powered website, so i am loading all pages dynamically using ajax to achieve fancy transitions between pages and maximize user experience. Here is my

Solution 1:

pushState lets you change the local part of the URI when you update the page contents with Ajax.

For every URI you create that way, allow the server to build the same page without any dependency on JavaScript.

This will:

  • Give better performance when visitors enter the site by following a deep link
  • Allow the site to work without JavaScript (including for search engine robots)

Solution 2:

Complementing the @Quentin's answer, you need to identify in the PHP if the content is being loaded via ajax or not. If it isn't, you have to display the full content of the page being requested, including header, footer and the content of the page.

Post a Comment for "How To Index Dynamic Pages To Google Using Html5 Pushstate Method?"