Images broken after move site and switch month/date off
-
By now I know I shouldn’t have done this but I got myself in a mess. First I moved an installation from a dev domain to a life domain with ftp a zip archive and expand in the new location (same hosting account). Next I changed the wp_options entries for home and site URL to the new site. Got online and it worked (so I thought). Next, I changed the media setting from month/year to OFF and noticed that the actual files were still in their original folders. (in the meantime, I learned that the settings change only affects where WP stores files from that point forward). However, since I thought something didn’t work as expected, I moved these files all directly into the ../uploads/ folder and deleted the month year folders. In the website some images linked still into the old location, but not to the uploads folder. So I went back into the DB and changed all wp_posts entries where the guid contained the old location with the month/year reference.
Still, WP cannot access the images. Some images are actually showing but its random where they are picked up from, old or new location, w or w/o month/year. Now I copied the image files back into the original places in the new location and turned month/year ON again w/o any different result.
The URL is https://www.fortvermilionlodgeboard.ca and the old location is https://fvelderlodge.beaverpc.ca
- The topic ‘Images broken after move site and switch month/date off’ is closed to new replies.