Question

I read here that Google will index AJAX content for a URL that looks like this "www.example.com/page.html#!hash". I'm wondering if anybody knows if "www.example.com/#!hash" would also work, as it is shorter and more user friendly.

Was it helpful?

Solution

Yes it will. As long as you rewrite it correctly using "_escaped_fragment_". To make sure it is working properly, after setting everything up according to their manual, you can use google webmaster tools to "see what crawling bot sees" when accessing URLs like that

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top