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.
- The topic ‘Relative Images’ is closed to new replies.