SEO impact using hash urls? [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionI want to use some back button support like some listed here. Since the page is usually loaded by javascript looking at the hash tags. Will it create a problem for search indexing ? Do Yahoo/Google/Bing execute开发者_StackOverflow中文版 the javascript to get the content ? I am also thinking of using the HTML5 state push for urls instead of hashtags wherever applicable.
Example :- If i have a site www.a.com and clicking on a link it becomes www.a.com/#!/about . When there is a seperate request for www.a.com/#!/about the javascript will take care of loading the content. But how will search engine take care of this. What would I have to do to make this work.
Since I am starting out now, and want to create a complete ajax site with PHP at backend and Javascript using Jquery in the frontend. Any helpful resources I can look at ?
See here how to use hashbangs for SEO friendly AJAX-Links.
Official Google help page about AJAX and crawlability.
Basically you serve a HTML fragment equivalent to the loaded content through a special query for each page.
Take a look at the HTML5 history API
精彩评论