2

Is it possible to redirect a URL to another URL ending in a hash for a page anchor link?

The # part will be hard coded, not picked up by from the browser request.

Here's what I've been trying:

RewriteRule ^birmingham/events.html /#events [R=301,NE,L]

The above just takes me to the homepage without the #events.

Amit Verma
  • 40,709
  • 21
  • 93
  • 115
Neil Nand
  • 549
  • 6
  • 25

1 Answers1

0

The problem was, as @Starkeen said, browser caching. Once that was cleared it all worked.

Neil Nand
  • 549
  • 6
  • 25