How to index dynamic pages to google using html5 pushstate method?

后端 未结 2 404
夕颜
夕颜 2021-01-27 11:54

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

2条回答
  •  孤城傲影
    2021-01-27 12:42

    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)

提交回复
热议问题