How to use mod_rewrite with anchors but no [R=301]
问题 I have a website build on jQuery scrollTo plugin. Each page is accessible via anchor's, ie. www.domain.com/#page-one and deeper www.domain.com/#page-one--some-content . I'd like to create rule with mod_rewrite so address like www.domain.com/page-one or www.domain.com/page-one/some-content point to the above one. Its quite easy with [R=301] flag but I need my "clean" address /page-one/some-content to stay in address bar not changing to #page-one--some-content . Why I need to change them?