ajax - How do I make my hosting detect _escaped_fragment_ and fetch the corresponding HTML? -


i have ajax site , i'm using hashbangs (#!) in urls intention of providing correct html versions when google bots replace #! ?_escaped_fragment_.

how go routing/proxying/redirecting url _escaped_fragment_ corresponding html pages? can't find documentation on part of process specifically, , first thought should using 301 or 302 redirect, told wasn't case, albeit not given more info.

you can't use htaccess or redirects @ all. after # in url isn't sent server. url fragment entirely client side. you'll need use kind of javascript solution @ fragment, , make whatever appropriate ajax call server , load content back.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -