WordPress.org

Ready to get started?Download WordPress

Forums

Images changing to relative links when moved in editor (2 posts)

  1. greggo
    Member
    Posted 3 years ago #

    For no apparent reason that I can figure out, our wordpress editor has started changing the absolute links of images to relative links when you try to move an image within the wordpress editor. To be clear, images are inserted using absolute links, but when you move them in the editor, they switch to relative links.

    Any ideas? Saw another post on this from about a year ago, but it had no replies and was closed.

  2. zenkitty
    Member
    Posted 3 years ago #

    A couple of my clients are also having this problem. Whenever you try to copy/cut and paste any images in the editor, the paths of the pasted images are changed from absolute to relative. The relative paths are leaving out the subdirectory wordpress is installed in, so the images no longer display.

    eg absolute path:
    http://domain.com/subdirectory/wp-content/uploads/imagename.jpg

    relative path that it gets changed to:
    ../wp-content/uploads/imagename.jpg

    I can't figure out what's going on! It seems to be happening with two client sites on the same server, but another client wordpress site on a different server isn't doing it. So maybe its a server setting causing the issue?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.