Reputation: 5297
I want: http://www.example.com/#test to be redirected to http://www.example.com/test
With .htaccess, is that possible? How?
Upvotes: 3
Views: 1865
Reputation: 526493
Anchors are not sent to the server as part of a request, so no, you cannot redirect based on them.
http://www.mikeduncan.com/named-anchors-are-not-sent/
Upvotes: 4