Rene Saarsoo
Rene Saarsoo

Reputation: 13917

How does Google handle relative _escaped_fragment_ URL-s?

I'm trying to understand Google AJAX-crawling.

Say, I have an HTML page like this at example.com:

<title>My Page</title>
<a href="#!foo=bar">Some link</a>

When crawling the #!foo=bar link, google will fetch example.com?_escaped_fragment=foo=bar. As a response to this I will serve the following HTML:

<title>My Other Page</title>
<a href="#!blah=zap">Another link</a>

Now the question is, what will Google think of the #!blah=zap link? I see two possibilities:

So which way might it be?

PS. Is there some way to test this? I've been using the "Fetch as Google" service, but it doesn't tell me how it will crawl the links it finds on the page.

Upvotes: 2

Views: 303

Answers (1)

Laurent Brieu
Laurent Brieu

Reputation: 3367

Did you check : Full specification of _escaped_fragment_ ?

Regarding your question, I'll suggest that Google will interpret as : "Google will treat the URL as example.com?_escaped_fragment=blah=zap and will successfully fetch the page."

Upvotes: 2

Related Questions