WordPress.org

Ready to get started?Download WordPress

Forums

Links disappear when editing a published post. (25 posts)

  1. blackstonestudio
    Member
    Posted 1 year ago #

    I help setup WordPress for a client who was using an older version. Now she uses 3.5 but every time she wants to edit a post, all the links disappear. This had never happened to her before. I can't explain why this happens. When I was testing it, the only way I could keep the links is if I edited in Text mode, but if I switched to Visual, they were gone. Please help.

  2. ak.singla
    Member
    Posted 1 year ago #

  3. blackstonestudio
    Member
    Posted 1 year ago #

    Could it be a theme related issue? I upgraded my own blog to 3.5 as well and don't have the problem. Both blogs are using twenty eleven, but mine is version 1.3 and my client has 1.4

  4. ak.singla
    Member
    Posted 1 year ago #

    I think, it can't be a theme issue.
    But, I am yet not much known to issues that may arise during upgrade.

  5. blackstonestudio
    Member
    Posted 1 year ago #

    Actually, I've tried switching themes, and the problem persists. Tried deactivating all plugins too... It's something with the editor.

  6. ak.singla
    Member
    Posted 1 year ago #

    Has not the master-list to wordpress 3.5 troubleshooting, anything about this issue??

    You may want to search the form for similar topic, if it be an upgrade error, then it must be posted somewhere in the forum.

  7. blackstonestudio
    Member
    Posted 1 year ago #

    I didn't see anything about this issue there. I'm starting to think it is something else. When I edit a post my client published it strips the links, BUT if I create a new post myself on her blog, same info, pictures and links and publish and edit it works fine... that is incredibly odd.

  8. cooperanet
    Member
    Posted 1 year ago #

    Hi,

    Did you find a way to manage this issue?

    I have the same problem, it's so weird and so... frustrating!

  9. blackstonestudio
    Member
    Posted 1 year ago #

    Not yet, I actually have a meeting with my client today to see how exactly she is posting to compare my process to hers and try to pinpoint where the issue gets created. Will keep you posted.

  10. cooperanet
    Member
    Posted 1 year ago #

    In my case, it seems that the editor misplaces sometimes the A tag so when I update the post, auto-formatting delete some of the code.

    But I have no idea why the WP editor acts like this.

  11. cooperanet
    Member
    Posted 1 year ago #

    So, for now, I don't use the visual editor, only the HTML editor, it's safer.

  12. ak.singla
    Member
    Posted 1 year ago #

    I am sorry, I can't help about this issue.
    But as an aid, before you publish/edit the post, remember to save the html in a text file.
    So, if it removes few tags, you will not have to work again.

  13. blackstonestudio
    Member
    Posted 1 year ago #

    My client is not html savvy so the normal editor has to work for her. When she publishes the article it works fine, but if she goes backs to edit it, then it strips the links.

    So far I've noticed that her links are around paragraph tags... when I take them from around the paragraph, they don't get stripped after being edited.

    Example of what her links look like:

    <a href="#"><p style="text-align: center;">Click Here For Plaid Shirt</p></a>

    I'm not sure how she is creating the links that it's wrapping them outside of the paragraph tag but I'll figure that out at our meeting.

  14. blackstonestudio
    Member
    Posted 1 year ago #

    Update: The links get stripped when we hit the Center alignment!

    If I hit ctrl+A and center, it's ok, BUT if I highlight the lines text that have links, then it adds paragraph tags around each line and moves the link tags outside the paragraph tag, which then gets stripped.

    Any ideas why this happens? How to fix it?

  15. blackstonestudio
    Member
    Posted 1 year ago #

    It also happens if I hit center align before I even type one thing.

  16. blackstonestudio
    Member
    Posted 1 year ago #

    The issue is the Center Align button and links put together. By disabling wpautop in the TinyMCE plugin I was able to help the links not get stripped, however the center align still works quirky. It will sometimes center all lines of text, but mostly it will center everything except the lines that are links.

    Now that I discovered it was the center align button, I tried it on my blog as well and it has the same problem so it's an overall glitch.

    My solution is have my client write/format the posts in Word and then just copy paste into WordPress. That seems to work just fine.

    Hope the next WordPress update resolves this!

  17. cooperanet
    Member
    Posted 1 year ago #

    Thanks for the update.

    It seems that I have exactly the same issue, but also with the Left / Right / Center button.

    Link tag gets outside of the paragraph tag and so, gets stripped by the auto-formatting when updating post.

  18. ewwarehouse@gmail.com
    Member
    Posted 1 year ago #

    I have the same issue on my website. Whenever I go to edit a page or post, some of the hyperlinks go away. It's really irritating, as I update my site frequently and rebuilding 10-12 hyperlinks at a time is really grating!

  19. ewwarehouse@gmail.com
    Member
    Posted 1 year ago #

    I should note that I upgraded to the latest wordpress.

  20. blackstonestudio
    Member
    Posted 1 year ago #

    I think it is a bug on the new wordpress update. I just don't know how to let them know so hopefully they can fix it.

    For now, you can try copy/pasting your posts into Word before you edit them so you can paste the content and links back in when they disappear.

  21. Nicole
    Member
    Posted 1 year ago #

    I am having the same issue on a few sites. I add the hyperlinks, the page looks fine, but when I go back to edit it...they are gone.

    This is especially frustrating when I set up a page for a client and they go back to edit it and need to re-add all of the links.

  22. amandajanebrown
    Member
    Posted 1 year ago #

    I am having the same issue.

    Did anyone figure out a solution? For now, I am going to do the recommended copy/paste from Word.

    Thank you!

  23. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    This is a known bug and will be fixed in 3.5.1. Make sure that you never paste from Word into a webpage - that will likely create further problems.

  24. esmi
    Forum Moderator
    Posted 1 year ago #

    @amandajanebrown; Please stick to your own topic. Using Word is NOT the answer.

  25. esmi
    Forum Moderator
    Posted 1 year ago #

    This is a known bug and will be fixed in 3.5.1

    But it's a bug that only triggers if you:

    1. enter links in a specific manner
    2. Switch editing tabs

    DON'T SWITCH EDITING TABS! Pick a tab and stick to it for the life of that Post or Page.

Topic Closed

This topic has been closed to new replies.

About this Topic