开发者

URL rewriting with a hash

So, I am new to url rewriting, and was wondering if it is possible to rewrite the url when a hash comes into play. For instance, I have the following URL:

http://testdomain.com/#/test.php

Is there a way to rewrite this to:

http://testdomain.com/index.php?url=test.php

I am not sure whether the hash effectively makes this 'invisib开发者_JS百科le' on the php side. I tried to capture the request URL this way, and it does not read anything from the hash on.


After reading more up on this, I have found it not to be possible, as the hash is not sent to the server, and is client side only.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜