开发者

Can be URLs of Ajax request be made without hashes?

开发者 https://www.devze.com 2023-03-02 21:54 出处:网络
I\'ve configured mod_rewrite on the site, and all URLs look like site.com/smth/else In profile section of the site I want to make ajax navigation, so URLs will be changed with hashes: site.com/profil

I've configured mod_rewrite on the site, and all URLs look like site.com/smth/else

In profile section of the site I want to make ajax navigation, so URLs will be changed with hashes: site.com/profile#smth

Can I make these a开发者_Python百科jax URLs look like others (with slashes but not hashes) - is it possible?


It is not possible. The only possible way to change current url without reloading of the whole page - is to change its anchor part.

0

精彩评论

暂无评论...
验证码 换一张
取 消