Support » Fixing WordPress » hash symbol problem in links

  • Resolved kmardahl



    I wanted to add a link to someone’s website in my post. The link has a jump so the entire URL includes a hash symbol. WP kept erasing everything between the href=” and the slash+hash symbol. The erased stuff was the true domain, and when I viewed it on an active web page, my domain was inserted! I tried editing via the rich text editor and directly in the html code. Nothing. The correct domain kept disappearing. I use utf-8 encoding on my site.

    Support had 4 entries concerning the hash symbol, which didn’t really help. There was one bug issue at
    It seems as thought this Tiny MCE ( should solve my problem, but it seems like an awful lot of work for this issue. I mean, a link is a link, and shouldn’t anything be permitted between the double quotes in the link?

    I was able to add the correct link in a comment to my own post.

    You can see the link in question at:

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you disable the WYSIWYG editor (Users -> Your Profile, top checkbox uncheck) does the problem still happen when you add the link?

    Thanks, HandySolo, but a friend pointed out another solution before I saw yours. There was a slash in front of the hash symbol. When I pasted in the link with the slash, everything in front of the slash disappeared. When I removed the slash, everything remained as it should. The link worked. The slash is on the site I link to, but a hyperlink without still works.
    I’ll try disabling the WYSIWYG another time. Thanks for that tip. I will most likely need to keep it in mind!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘hash symbol problem in links’ is closed to new replies.