url_rewrite /#/ something / here to / something / here
-
05-07-2019 - |
题
我需要配置我的Apache实例来重定向来自
之类的模式的请求/#/something/here
到
/something/here
我试过
RewriteRule /([\#])/something/here /(.)/something/here
没有成功。有什么想法吗?
解决方案
坏消息:网址中的哈希不会被发送到服务器。
哈希之后的文本称为“片段标识符”。并且仅供浏览器使用。
不隶属于 StackOverflow