St. Louis Web Developer & User Interface Designer

How to escape pound sign in Apache RewriteRule

If you’re setting up a redirect and want to redirect to a specific page and “tab” on that page, you need to make sure Apache does not escape the URL, otherwise # will turn into %23. You can do that by using the NE (no escape) flag: