Media URL Structures change with new Blog Address
-
My test site, somedomain.com/dev, displays images from the Media Gallery using the expected URL, eg,
<img src="https://somedomain.com/dev/wp-content/uploads/et_temp/filename-e1337786140409-19393_500x335.jpg" >
However, when I try to launch the site by changing the WordPress address and Site address from “https://somedomain.com/dev/” to “https://somedomain.com/”, the image url for the same files switches to:
<img src="/home/some_dir/public_html/another_dir//wp-content/uploads/2012/04/filename-e1337786140409-19393_500x335.jpg" >
Note the double slash in the new URL. Now my links are broken, though the image files are still where they oughtta be. Really, the only thing that’s changed is the site address in the General Settings page. How can I override this unfortunate change in link structure?
- The topic ‘Media URL Structures change with new Blog Address’ is closed to new replies.