htaccess mod rewrite - can I forward my URL to another URL with a hash tag?
===

A small but confusing htaccess problem here, on mod_rewrite. 
We need to forward:
    http://www.mydomain.com/ladies-boots/?shoesize=43&calfwidth=K
to
    http://www.mydomain.com/ladies-boots/#nogo&somevar=1&shoesize=43&calfwidth=K

Our code (thanks to another Stackoverflow post) is:

    RewriteCond %{QUERY_STRING} ^shoesize=([0-9]+)\&calfwidth=([A-Z])$ 
    RewriteRule ^ladies-boots/$ http://www.mydomain.com/ladies-boots/#nogo&somevar=1&shoesize=%1&calfwidth=%2? [R=301,L]

The above works great, except the hash # tag is escaped by Apache,  which writes the URL as with a %23 instead of the #.

Is there any way I can work around this? I do need the hash tag for some Javascript/non-SE-friendly functionality and the above URL is not usable without a working hash tag.

Many thanks!

