I’ve stumbled on this strange issue that I never had before;
On my website that is based on WordPress, I have a link with a href=”#”. What it should do is this http://example.com/# but what it does is this http://example.com/wp-content/themes/exampletheme/#. This gives a 404 of cours because it doesn’t exist.
Does anybody know how to fix this problem? I got access to other WordPress based websites and tested it but didn’t got this issue.
Did some testing and found out it had to do with the following code in the header.php: