Question

I need to configure my Apache instance to redirect the requests from a pattern like

/#/something/here

to

/something/here

I tried with

RewriteRule /([\#])/something/here /(.)/something/here

with no success. Any thoughts?

Was it helpful?

Solution

Bad news: Hashes in URLs don't get sent to the server.

The text following the hash is known as a "fragment identifier" and is only used by the browser.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top