我有一个单页面网站。我的页面有多个部分。我定义了与#
的部分。例如detail
部分的网址类似于http://bamap.ir/#/details
。如何在.htaccess中重写网址
我想击溃一些网址如下:
http://bamap.ir/details
去http://bamap.ir/#/details
http://bamap.ir/user-authentication
去http://bamap.ir/#/user-authentication
- ...
我怎么能击溃这个网址.htacccess
?
[从AngularJS网址(#符号)中删除片段标识符](http://stackoverflow.com/questions/14771091/removing-the-fragment-identifier-from-angularjs-urls-symbol) –
I没有使用angularjs。 –
然后你在用什么?我想你应该详细说明你的问题 –