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.
精彩评论