php - Configuring apache to send user to another site? -


is possible change script send users site incase _escaped_fragment_ present?

rewriteengine on rewritecond %{request_uri}  ^/$ rewritecond %{query_string} ^_escaped_fragment_=/?(.*)$ rewriterule ^(.*)$ /snapshots/%1? [nc,l] 

e.g. last line rewritten sends user

http://foo.bar.com/?url=the-full-url-with-hashbangs 

that is, want recreate "pretty url" escaped fragment, , pass entire url site. site contains static snapshots should returned users browser.

[edit] releasing service enables javascript sites e.g. angularjs, backbone etc indexed googlebot hooking in _escaped_fragment_ request make.

see http://crawlr.wombit.se/

i want able give correct examples users how set in other environments. using in asp.net ourselves.

nope. that's impossible.

just because hashbangs never being sent server


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -