2

Hey this should be a pretty easy question but I can't find the answer to it.

How can I use a # in my .htaccess, without turning it into a comment. I want to rewrite my url from www.sitename/index.php#contact to www.sitename/index.php.

Minegolfer
  • 276
  • 4
  • 18

1 Answers1

1

I think that all you want to know can be find there:

'hash' url rewrite in .htaccess

Redirect URL with hash using .htaccess file

Community
  • 1
  • 1
janfitz
  • 1,183
  • 12
  • 21