Paul
Paul

Reputation: 11756

Will Google crawl this URL?

I'm using the jquery address module for a good portion of my site. The problem I'm running into is that I created two seperate URL formats, one for offline (guest users) and one for online (logged in users). For example my two formats look like this:

online: http://my-site.com/#view_profile=5

offline: http://my-site.com/view_profile=5

Will Google crawl the online URL format or do I need to add a "#!' for the pretty URL format in order for Google to crawl it? If this is the case is it a matter of just pre-pending an '!' mark to the hash mark?

I really like the jquery address module because it allows greater flexibility in my design but I'm afraid it's effecting any SEO efforts.

Upvotes: 1

Views: 291

Answers (1)

Andreyco
Andreyco

Reputation: 22872

You definitely need to adapt "#!" scheme inw your URLs, since Google does consider them AJAX crawlable.

First case

http://my-site.com/#view_profile=5
This URL won't be crawled by Google, http://my-site.com/ will be crawled instead, since '#view_profile=5' portion of URL is not sent to the server (there is no way to do that).
But if you adapt '#!' scheme, you tell Google to send aditional portion after '#' to the server, in special $_REQUEST['_escaped_fragment_'] parameter.


Second case
What gets generated here is crawled by GoogleBot...


More to read here Making AJAX Applications Crawlable or feel free to ask.

Upvotes: 2

Related Questions