Uploaded image has gets wrong url
-
Both my wordpress and blog url are set to https://www.domain.com/blog, and the address for uploads is “wp-content/uploads”. When I write a new article I can upload an image and preview it. But when I drag and drop the image into the editor area, the image does not appear (only the “broken image” pictogram from my browser). If I look at the html code generated for the article, the img tag contains “https://www.domain.com/wp-content/uploads/2006/03/img-07641.jpg” whereas it should be “https://www.domain.com/blog/wp-content/uploads/2006/03/img-07641.jpg”
If I add the missing “blog/” the image is correctly displayed. The image is saved to the upload directory, it’s just an issue with wordpress not generating the correct url for the picture.
Can someone help?
- The topic ‘Uploaded image has gets wrong url’ is closed to new replies.