I am working on putting this site on my server. The original code was written as if the site is the only one on the server, “/images” was in a few spots. Ive had to go through and change some code as it is one of a few sites I have on my server and located in a sub directory.
I have modified the header file and it started working on the main page. However if you click any of the main navigation links on the left sidebar (About Us for example) the images are broken.
I have looked at the source thats outputted for both sites and even copy and pasted the image links into a text file to make sure they are identical (they are).
How is this possible? It might just be because its late but im at wits end.
Thanks in advance for any help thats offered.
Thanks guys! I thought that might have been the problem, but then I thought it wasnt because the directorys are virtual (permalinks) but the browser doesnt know that.
I wasnt sure what to do as the site was located in a sub directory and /images would source the main sites images. Not exilebooks/images. And since im switching the domain I dint want to hard code the directory in there.
So what I did was create a sub domain to point to /exilebooks/ which solved the problem.
I know you would know all this but just in case someone is searching for the same problem they have a complete answer.
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Header images displaying on main page but not on sub pages. Same header file…’ is closed to new replies.