Hash Bang Url's


I’m wondering if there is a straight forward way to use hash-bang url’s (#!) for seo-friendly ajax applications.

Is there a best-practice to use them with yii (and to achieve that /#!test/test2 shows the same content as /?_escaped_fragment=test/test2)?

Thank you!

Hi yiwi

You have to specify URL rules

check this:



Thank you, but is it generally up-to-date to use hash bang url’s? Or should we use pushstate() to achieve an url change?

Give me please an example of ?r=controller/action&param1=1&param2=2… to SEO url that you want to achieve