script?_escaped_fragment_=a返回指向#!b的链接会发生什么?

有人知道如果script?_escaped_fragment_=a返回指向#!b的链接(它将变成script?_escaped_fragment_=a#!b))会发生什么吗?

Google可以访问script?_escaped_fragment_=b吗?

No - Googlbot will not crawl that link. According to the Google specification, Googlebot will not crawl a URL on your site that contains _escaped_fragment_ .

I think the correct solution is to work with the base tag:

http://www.w3schools.com/tags/tag_base.asp

With the correct base tag even relative links do not contain "_escaped_fragment_" so they should be indexed by google.

I do it like this:

    RewriteCond %{QUERY_STRING} ^_escaped_fragment_=(.*)$
    RewriteCond %{REQUEST_URI} !^/snapshots/views/ [NC]
    RewriteRule ^(.*)/?$ /snapshots/views/%1 [L]