.htaccess - redirect binding

I want to: http://www.example.com/#test redirect to http://www.example.com/test

With .htaccess, maybe? How?

+3
source share
1 answer

Anchors are not sent to the server as part of the request, so no, you cannot redirect them based on.

http://www.mikeduncan.com/named-anchors-are-not-sent/

+4
source

Source: https://habr.com/ru/post/1715101/


All Articles