I migrated my website to a new domain and modified the wordpress database to search and replace any old domain name references, but I still can't get the images on the website to load on the new domain. It appears as though the broken images are pointing to the right place, but they won't load.
Tahir - I’ve already contacted GoDaddy and they couldn’t figure it out and assumed it was something within the theme.
Brian - We did the search and replace via SQL as you mentioned and still have issues. The images can be found in the uploads folder in the new gswarchitects.net domain. Were you seeing references to the old domain of gsarchitects.net? There’s only one letter difference between domains.
The logo however seems to forward to the new domain (gswarchitects.net), so for some reason that doesn't work. The error in the console is 404, might be a typo? Wrong folder? What if you upload the same image again? Can the image then be found?
Figured it out! I renamed the .htacess file in the main root of my wordpress site and switched the permalinks style in the settings of the wordpress and that fixed it.
I migrated my website to a new domain and modified the wordpress database to search and replace any old domain name references, but I still can't get the images on the website to load on the new domain. It appears as though the broken images are pointing to the right place, but they won't load.
website: https://www.gswarchitects.net
Hey Again,
Could be a File Folder Permission issue: https://www.wpbeginner.com/wp-tutorials/how-to-fix-image-upload-issue-in-wordpress/ .
Thanks
ThemeNectar Support Team
Hi Tahir,
I tried setting permissions per the link you sent, but that didn't fix it either.
Please contact your hosting provider so they can fix this for you.
Thanks
ThemeNectar Support Team
Can all images be found at: ''https://www.gsarchitects.net/wordpress/wp-content/uploads/2015/11/IMAGE.EXT''?
The URL is different, I don't know if that is anything that you already checked?
Otherwise try using this SQL code:
UPDATE wp_options SET option_value = replace(option_value, 'OLDURL', 'NEWURL') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET guid = replace(guid, 'OLDURL','NEWURL');
UPDATE wp_posts SET post_content = replace(post_content, 'OLDURL', 'NEWURL');
UPDATE wp_postmeta SET meta_value = replace(meta_value,'OLDURL','NEWURL');
Tahir - I’ve already contacted GoDaddy and they couldn’t figure it out and assumed it was something within the theme.
Brian - We did the search and replace via SQL as you mentioned and still have issues. The images can be found in the uploads folder in the new gswarchitects.net domain. Were you seeing references to the old domain of gsarchitects.net? There’s only one letter difference between domains.
Some image URL's are: gsarchitects.net.
For example the images on the contact page (https://www.gsarchitects.net/wordpress/wp-content/uploads/2015/11/Zillow.ext). .png instead of .ext ofcourse. ;)
The logo however seems to forward to the new domain (gswarchitects.net), so for some reason that doesn't work.
The error in the console is 404, might be a typo? Wrong folder? What if you upload the same image again? Can the image then be found?
No luck in reloading the images via FTP. I tried the logo, and that one didn't work.
Would you like login info to check things out? I've researched and tried a lot of things to no avail!
Oh, and I found out that those images on the Contact page had hard coded sources, so I fixed the url and nothing changed.
Figured it out! I renamed the .htacess file in the main root of my wordpress site and switched the permalinks style in the settings of the wordpress and that fixed it.
Glad you got it sorted.
Best
ThemeNectar Support Team