[Resolved] upload images problem after changing domain
I just changed domains with my wordpress site. It’s still on the same server but the domain name has changed.
My new website is hosted on /new/, the old one on /old/. http://www.mynewdomain.com is pointing correctly to /new/. And I did replace all instances from the old domain from my DB using “Search and replace DB”, replacing them with the new domain, as well as added the 2 “define” lines in wp-config for good measure.
The problem is that when I upload images into posts, they upload to /old/wp-content/uploads, and the website tries to display /new/wp-content/uploads. Of course they don’t exist there, so I get a missing file error.
Why does wordpress still upload to the old repertory, and how do I change that?
- The topic ‘[Resolved] upload images problem after changing domain’ is closed to new replies.