I'm having trouble with url rewriting. I have the following rule working fine:
RewriteRule ^([^/\.]+)/?/([^/\.]+)/?$ page.php?theme=$1&pg=$2 [L]
which displays the url as follows:
domain.com/theme/pg
What i need is for the the url to rewrite to domain.com/theme#pg
I thought the below would work, but it doesn't:
RewriteRule ^([^/\.]+)/?#([^/\.]+)/?$ page.php?theme=$1&pg=$2 [L]
What am I doing wrong?