- This topic has 11 replies, 5 voices, and was last updated 5 months, 2 weeks ago by
David.
-
AuthorPosts
-
September 11, 2020 at 8:10 pm #1440035
Vinay Karanam
I recently created a lot of content and most of them have same format. Image, followed by content and another hyperlink image. Everything was good and all of sudden,images are gone. I checked the files to make sure the uploaded images arent corrupted and they are fine, then went made sure I refreshed the permalinks and then updated the .htaccess file. But no luck. Can you guys help me out here? to manually do 200 pages is a nightmare haha
September 11, 2020 at 8:24 pm #1440036Elvin
StaffCustomer SupportHi Vinay,
Can you check your WordPress and Site URL under WP Admin Panel > Settings > General?
Do they match your current URL? I’m seeing
net::ERR_NAME_NOT_RESOLVED
errors on your site. The img src for your images doesn’t match the current URL of your site. Perhaps this is causing the problem.Let us know if it works for you.
A wise man once said:
"Have you cleared your cache?"September 11, 2020 at 9:02 pm #1440059Vinay Karanam
Hi Elvin,
Yes, they are matching.
September 11, 2020 at 11:49 pm #1440143Elvin
StaffCustomer SupportThis is the error from the console.
Did you change domain from
https://canadainc-movers.ca/
?The image are not displaying properly because their src url uses the wrong domain.
Assuming your WordPress and Site URL under WP Admin Panel > Settings > General is set to your current URL, you may have to open your database and do a search and replace for table values that still uses the old domain.
Alternatively, you can try using WordPress plugins like – https://wordpress.org/plugins/better-search-replace/ to search and replace from the old domain url to your current URL.
A wise man once said:
"Have you cleared your cache?"September 12, 2020 at 8:46 pm #1441080Vinay Karanam
Hi Elvin,
The images were copied from there but we ended up creating new images and uploaded them, not sure if the cache so we cleared the cache.
Then I installed the plugin you recommended and replaced all the https://canadainc-movers.ca/ url with the sites url.
Went into DB and checked all the files. Didnt find any https://canadainc-movers.ca/, can you double check please? if the url is still around, which folder is it in? so I can replace it.
Thanks
September 13, 2020 at 10:05 am #1441622Tom
Lead DeveloperLead DeveloperHi there,
I’m still seeing the old URL in your HTML.
Have you tried a plugin like Velvet Blues Update URLs? It’s always worked great for me when it comes to replacing old URLs in the database.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentSeptember 13, 2020 at 12:25 pm #1441727Vinay Karanam
Hi Tom,
I added the Velvet Blue update url changed the urls. Still seeing the same, where are you find the https://canadainc-movers.ca/ in the HTML ?
September 13, 2020 at 4:30 pm #1441843Leo
StaffCustomer SupportAny chance you can clear and disable the caching plugin and also allow right click so we can view the source of your site better?
Thanks!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 13, 2020 at 9:25 pm #1441988Vinay Karanam
Hi Leo,
I have disabled the plugin, please let meknow if you need anything else.
September 14, 2020 at 1:52 am #1442213David
StaffCustomer SupportHi there,
when you updated your URLs you did it incorrectly.
This is the URL being output for those images:https://metalmenmovers.comwp-content/uploads/2020/08/metromovers.png
It is missing the
/
after the.com
You will need to search and replace this now.
1. Search this:
https://metalmenmovers.comwp-content/
2. Replace with this:https://metalmenmovers.com/wp-content/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 14, 2020 at 2:37 pm #1443254Vinay Karanam
uggh….dohh…such as small things messing everything up.
Thank you very much for taking your time for helping me out! really appreciate it!
September 15, 2020 at 1:37 am #1443695David
StaffCustomer SupportGlad we could be of help
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.