Support » How-To and Troubleshooting » Relative Images

Relative Images

  • I have sites with hundreds of images stored at wp-content/images

    On the live server, <img src=”/wp-content/images/..” works fine.

    On the development (localhost) server, I have to use <img src=”sitename/wp-content/images..”

    I don’t really want to have a different directory structure online; is there a way of avoiding having to replace every reference for every update?

    ‘WordPress URL’ and ‘Site URL’ don’t seem to be the answer.

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Relative Images’ is closed to new replies.
Skip to toolbar