Links to pages with anchor in URL result in 404

Topics: Troubleshooting
Feb 28, 2014 at 4:47 AM
I have a page that contains
  1. Page content
  2. Custom module widget
  3. Html widget
Html widget declares a number of anchors. I have put a link to this page in my footer and if link contains just page (ie. /page1 )everything is fine, but if I include anchor from html widget (ie. /page1/#anchor1 ) I get redirected to my page, but "Page content" block is replaced with "Not found, The page you are looking for does not exist. " block, custom module and html widget are rendered without a problem.
If I place link to the same anchor inside the html widget it jumps to linked location without a problem.

What am I doing wrong?

Thank you.
Feb 28, 2014 at 6:59 AM
You might want to try without the last slash, i.e. /page1#anchor1

Marked as answer by dae01 on 2/28/2014 at 4:56 PM
Feb 28, 2014 at 11:57 PM
Thanks, it did the trick.