Redirect all URLs ending with "# _ = _" to the Root Domain

Hi, I am looking to create a htaccess redirect that takes http://www.example.com/cooluser/profile#_=_ up to http://www.example.com/cooluser/members/profile/

where /cooluser/ is dynamic and unique to the user who is logged in. This is a buddy setup.

Any help would be appreciated!

+4
source share
1 answer

The hash of the URL (the part after # ) is never sent to the server. Redirection must be done on the client side and cannot be done in .htaccess .

+2
source

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


All Articles