hyperlink adds weird numbers to url

Community Forums Forums General Discussion hyperlink adds weird numbers to url

This topic is: not resolved

Tagged: 

This topic contains 6 replies, has 2 voices, and was last updated by  Papaka 1 year, 5 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #49829

    Papaka
    Participant
    Post count: 7

    After creating a page and adding an image, I want the image to be “clickable”. So I used the hyperlink button on the page and saved it. Well, when I go to the website to test, I keep getting same problem. WP adds “%E2%80%8E” to the link and therefore the link ends up with a 404 error page not found. Not sure where to look to fix this one.

    Click on “get quote” to see results. (http://www.uspalletsupply.com/Kuhl/)

    Suggestions?

    • This topic was modified 1 year, 5 months ago by  Papaka.
    • This topic was modified 1 year, 5 months ago by  Papaka.
    http://www.uspalletsupply.com/Kuhl/
    #49861

    Summer
    Participant
    Post count: 1123

    Those are hexadecimal character codes. Ever noticed how if you try to copy a link from a Google search without visiting it, that it’s full those crazy character codes, like http%3A%2F%2F instead of http:// ?

    Same encoding. See the list: http://www.ascii.cl/htmlcodes.htm

    Somehow, when you pasted that link, you also pasted those characters. Were you using the Visual editor, and maybe highlighted a little more space than you needed to when you pasted it in there?

    If you switch to the HTML editor, you might be able to see the extra characters that are causing the problem and delete them, or delete and re-add the entire link itself.


    #49874

    Papaka
    Participant
    Post count: 7

    I understand what you are saying. However, that does not appear to be the case.
    I removed the image completely and just typed a word “link” which I added a hyperlink to.
    Did it with just raw html.
    Link

    And when you click on that link, it adds those goofy character and then the error message.

    #49877

    Papaka
    Participant
    Post count: 7

    What’s interesting is the same thing happens when I mouse over the link I just made. Could it be browser related?

    #49928

    Summer
    Participant
    Post count: 1123

    The image isn’t the problem, it’s your pasting that’s the problem.

    Does the same thing happen if you type the link in manually, instead of pasting it? I have a feeling that you are either highlighting extra characters to copy, or maybe there’s some cruft in your clipboard that’s being added?

    I’ve seen it happen before, during a site move. The version of mysql and phpMyAdmin were different on the new system, and for some reason, the titles and permalinks for a lot of older posts had a lot of those hex character codes in them, plus some other alternate representations of curly quotes. The hex characters looked like they weren’t there, but when the character encoding changed, suddenly all these titles had extra stuff in them. Turns out one of the guys had been pasting copy into the WP editor from Word. What a mess.

    The link in my previous message was pasted in, so it’s not a browser thing, it’s definitely you pasting alien creatures :)


    #49940

    Papaka
    Participant
    Post count: 7

    The above link was typed.
    Using Firebug, here is the actual code as seen:
    Link

    But notice what happens when I do as you suggest, just paste.
    Link
    Those characters show up. So it seems that the culprit is those characters, but I cannot reproduce if

    On my WP page using the Corporate theme, I typed in the raw html and still got the same results.

    #49941

    Papaka
    Participant
    Post count: 7

    I resolved the issue but not the problem.
    I created an entire image including text and original button as a jpg.
    I then hyperlinked the entire image.
    While it resolved the issue, sure don’t know what was causing the problem.

    Perhaps I have a faulty keyboard and it’s throwing in those characters.

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.