Images not loading in wordpress website - wordpress

I have a strange issue in my wordpress website. previously images are not loading automatically on website. but when I activated firebug all images loads in a flash. However this issue is resolved now but websites seems to be very slow it takes 2 minutes to load images. I am facing this issue after moving website on go daddy hosting.
Here is the link of the website that is hosted on godady
http://www.mobilemag.in
And my old server url is http://148.251.158.133/mobilemag-old/
Please can any one check and guide me how to optimize this.
Thanks

Images are not getting resolved in your new website . All the URLs are coming like this:
http://http//mobilemag.in//wp-content/uploads/2009/05/image_5413_largeimagefile-150x150.jpg
Please change Media URLs.

i have checked your site and found that you have the problem with the image path :
http://http//mobilemag.in//wp-content/uploads/2015/05/2014_bugatti_veyron_ettore_bugatti_legend_edition-1440x900-1.jpg (your current path which i have fetch from firebug)
it should be like : http://mobilemag.in/wp-content/uploads/2015/05/2014_bugatti_veyron_ettore_bugatti_legend_edition-1440x900-1.jpg
so do not pass the static path here. write me the code how you display the images there i will correct it out.

Try to upload DB again with wp migrate db
Following are some steps :
STEP 1 : Install wp migrate db in your local site then after activate plugin go to tools and select Migrate DB
STEP 2 : Set your link as per your choice.
STEP 3 : After saving database(after click on migrate button you will get database in zip) just upload in live website.

Best way is You have to update your database.
Steps:
1.download sql of your database.
2.Open with notepad++
3.Copy----//http//mobilemag.in//wp-content and find in the sql
4.Repace all with----/mobilemag.in/wp-content
this will obviously work for correct path.
Thanks

Thanks every one for your help. I have corrected the media path but the issue is still there. Images takes long time to load. All content is loaded in no time but images takes more then 2 minutes to load.
Thanks

Related

404 Error on Images Locally with WAMP/phpMyAdmin

I recently set up a WAMP server using phpMyAdmin and am having issues displaying images pulled from my website hosted via Pantheon. I've got everything running fine, but the images will not display.
I've exported my website's database via Pantheon and imported with phpMyadmin and the theme loads correctly, but not any images. It's running on WordPress as well. I've tried to find specific examples of this happening, but I'm not sure what the deal is. Any information would be appreciated.
If i get it right you exported you wp site and imported it at a local machine ?
Have you checked / changed the site url in wp ?
If in wp the site url dont match the real url the links to the files can get broken ..
Look at our site code in browser and there you should find the image link to see what wp realy try to load.
Solved. Had to extract the contents of the .tar file into the "uploads" directory, twice. There was no explanation to do this in any of the documentation I could find, I didn't understand how .tar files work.

WordPress Images not loading after migration

I'm facing a problem the last couple of days and I can't figure it out. We changed the hosting company and move our website (same domain name) to another hosting provider. After migration, images not loading, and I can see them broken in WordPress's Media Library.
I tried to change the permissions in the upload folder but that didn't worked. SSL is also working as expected. I disabled all the plugins and even changed the theme, but the problem still persists. I re-uploaded all the backup files again to make sure that I wasn't missing something, but the problem haven't been solved.
I also have the support team from the hosting provider that works on the website, but there's been 2 days now and they can't find a way to solve the issue.
In the browser's Search Console I do see the following errors: https://ibb.co/y0KCmHY
I've also checked the DNS settings in CloudFlare to make sure that I have setup everything correctly.
Any help will be much appreciated!
I am no wordpress expert but I think I would first check whether image files in your backup files are not damaged/corrupted.
I would check both your backup files and image files in your new hosting server
(download image files from your new hosting server via FTP)
Sorry I couldn't help you much except where to look at first which you might already know.
From the image that you've provided, what I can tell the status is 404 like you know which means your image is not found. Something wrong with all your image URL. You need to make sure the URL is correct for each image you have.

WordPress site isn't displaying images on the front end correctly

It is having problems displaying images. I think it could be a CSS, JS or caching issue? Project thumbnails and even normal images are not displaying. They appear in the media library folder fine, just not on the front end. The site is: https://www.thesaltypen.ie/ - Can supply WordPress login and FTP details if needed.
It seems as your site works correctly again?
If not you could check these things:
Check for errors in the console (there seems to be a problem with your theme (Failed to load resource), update it if necessary)
Use the inspector and check where you would expect images
Check the database entries, maybe there is a mistake with your connection
Check your hosting provider. Sometimes they restrict the upload and bandwidth

wordpress local migration error

I'm trying to migrate my wordpress site to a WAMP hosted localsite so I can have a safe environment to edit the site and learn how wordpress works properly. (before I decided to do this had to rebuild this site from memory 3/4 times because I'm an idiot who didn't realise that backing up is my best friend)
this is my live website
http://guitarlessonswithmax.com/
Using the following youtube video:
https://www.youtube.com/watch?v=C8LgYkfnJpc
I managed to get my wordpress sort of working using WAMP but not to the desired outcome as you can see in the screenshots provided in the imgur album
https://imgur.com/a/bjZRI
So as you can see the content is sort of there but minus the wordpress formatting which you can see on the live site.
Thanks in advance for taking the time to read this.
F12 in your browser to bring up the developer console. You can probably see a lot of '404 not found errors' where your installation expects files.
Install PhpMyAdmin and enter your database. Check the table wp_options. There should be two entries (siteurl and home ), ensure they are correct for your local installation.
Even simpler if you use WPTunnel for this purpose.
It creates a local WordPress installation inside a Docker container and proxies it to yoursubdomain.wptunnel.com:
https://github.com/dsdenes/wptunnel
disclamier: I'm the author of the library

WP CSS problems / Url Problems

I've got some problemes with my WP.
I've got a distant web site and I need to modify it. So i copy it on a wamp server to work on local.
Problemes are coming ^^
First when i go into localhost/my_site/wp-admin and I log myself no css are loading, and workpress is new for me so it's a little bit difficult to doing that without css.
Second when i click on a link in my local web site I've got 2 time the url.
I mean : 127.0.0.1/my_site/127.0.0.1/my_site/mypageIneed.
And obviously that doesn't work.
EDIT
I fix the CSS problems
If you already downloaded database and all files from your cpanel and everything is settled up on your localhost including database import. Just search this plugin online and place it to your root directory "Search-Replace-DB-master" run it on your browser and change all the links ( Ex. www.xyz.com/ to localhost/newsite/ ) . Good Luck !!

Resources