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:
Latest Threads
Replies
1
Views
48
Replies
0
Views
39
Replies
0
Views
59
Recommended Threads
Replies
0
Views
1,320
Replies
1
Views
1,873
Replies
0
Views
2,698
Replies
2
Views
1,744

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