I've got a problem with my Joomla site.
I've got an anchor link in my template -- really simple, like this:
<a href='#top'>Go to top</a>.
This works great for most pages on the site.
But on some pages (eg search), we allow URL arguments. On those pages, Joomla is rewriting the anchor link to remove the URL arguments. This means it no longer points to the current page, so it doesn't work as simply "go to top", it reloads the page without any parameters. This is not what I want.
All I want is a plain simple html anchor link. I don't want Joomla to be clever and rewrite the URL; it doesn't need rewriting.
Is there any way to stop Joomla from rewriting this URL?