How to set relative paths for image urls
-
I imported posts into WP. The photos for these old posts are stored in a folder called “images”, which I uploaded to my wordpress root.
The posts have simple html relative paths for the photos, such as <img src=”images/example.jpg”>
The photos show up on my home page (the path reads as “mysite.com/images/example.jpg”), but disappear in each post, as the post is looking for “mysite.com/postname/images/example.jpg”.
How can I get the paths within the posts to drop the postname?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to set relative paths for image urls’ is closed to new replies.