Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Indexing urls with hashtag

Tags:

seo

I recently built a website using "#" to add/remove content. It works great, creating unique urls for each content.
Ex:

http://example.com/test/#info-1
http://example.com/test/#info-2
http://example.com/test/#content-1
...


Last week i added my sitemap to Google Webmasters, but its not indexing the urls with "#".
Adding a url with "#" in "Fetch has Google", it automatically removes everything from "#", so the problem should be here.
Going to "Labs" "Instant Preview" in Webmasters and adding a url with "#", it renders successfully the whole page.

How can i index pages with "#" in Google?


Thanks. Best Regards.

like image 792
azost Avatar asked Oct 28 '25 13:10

azost


1 Answers

"#" represents a fragment of a page/URL. It is not supposed to locate a unique content. Google respects standards of URL and considers URL as the identifier of a page.

If you use fragment of page to locate a content, you are doing it wrong. Google is not. Better solution is to use real URL (no "#") to locate your content.

If you can not and if you use Ajax, Google provides a solution for which you need to generate HTML snapshots.

like image 187
Ciseur Avatar answered Oct 30 '25 13:10

Ciseur



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!