, . ...
(1) , , , . , , , sitemap.xml URL- hashbang. , Google , URL- _escaped_fragment_. , Google, URL- -, .
(2) , . Backbone.js ...
window.location.hash = window.location.hash.replace(/#!/, '#');
var AppRouter = Backbone.Router.extend({...
, - , , pushState. , URL , , "", / .
:
, , . BromBone:
URL- hashbangs (#!), Google , #! ? escaped_fragment =. ? escaped_fragment =, , . html5 pushState, "UserAgent" , .
BromBone, .htaccess: :
RewriteEngine On
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{HTTP_USER_AGENT} .*Googlebot.* [OR]
RewriteCond %{HTTP_USER_AGENT} .*Bingbot.* [OR]
RewriteCond %{HTTP_USER_AGENT} .*Baiduspider.* [OR]
RewriteCond %{HTTP_USER_AGENT} .*iaskspider.*
RewriteRule ^(.*)$ snapshot.php/$1 [L]