Take the 2-minute tour ×  Hey guys, My WordPress permalink
structure is set to `/%postname%/.  When I create a page with a
name "FAQs" the permalink generated is "mydomain.com/faqs".
When I link to this page in my code (hardcoded) like this...  <a
href="<?php bloginfo('home'); ?>/faqs#b" title="FAQ's">FAQs</a>
(pay attention to the #b hash at the end)  ...wordpress somehow
automatically notices that there is a page /faqs and replaces
/faqs#b just with /faqs (without the hash).  Is there a chance I
can write a kind of exception to my .htaccess file so WordPress
doesn't do that?  Any idea how I could make that work?
share|improve this question add comment  2 Answers  up vote 2
down vote accepted  If your permalink structure is /%postname%/
with a trailing slash, you need to pass the hash like this:
/faqs/#b with the trailing slash.  share|improve this answer add
comment  The URL hash (everything after the #) does not get sent
to the server, so Apache or WordPress can't detect it.
WordPress redirects all URLs