Why Missing Some Of Header Images Local Host To Live Host ?

markoo

New member
Registered
Joined
Jul 18, 2021
Messages
6
Points
1
I designed A WordPress Website in localhost, When I Created New Database for Online hosts and uploaded my Backup from the local host, But Every Time missing my some of the header images of every page. Why it happened ? Can anyone tell me?
 

Dr. McKay

Well-known member
Registered
Joined
Nov 26, 2016
Messages
565
Points
28
Why it happened ? Can anyone tell me?
Because you may use absolute link for your image from localhost, when you update your site to online hosting, they can be failed to load, checking link to them and you sure can solve this issue simply.
 

S4 Hosting

Well-known member
Moderator
Hosting Provider
Joined
Mar 5, 2021
Messages
177
Points
16
If all of the images are definitely uploaded in the same location as they were in the local install, then it probably is, as Dr. McKay said, that the paths are incorrect.

Do a search through the theme files and make sure that image links are relative or that if they are absolute links they are updated to the site address and not localhost. If they are theme images and not post or page content then they shouldn't be in the database, but you can also run a check there to be sure.
 
Last edited:
Recommended Threads
Replies
7
Views
3,400
Replies
4
Views
1,392
Replies
2
Views
2,301

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top