Search…

X3 Photo Gallery Support Forums

Search…
 
sound_and_light
Experienced
Topic Author
Posts: 37
Joined: 09 Jan 2021, 18:24

Changed Host, Links Not Working

18 Nov 2024, 20:22

I changed my website host.  It seems like the links are all missing the /content/ folder now.
So if I try to access a hypothetical in my gallery such as: http://mysite.com/myfolder/image1.jpg it breaks, but if I add the content folder in the path, it works: http://mysite.com/content/myfolder/image1.jpg

What do I need to do to fix it?  Can it be fixed in just one place?

Thanks!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14469
Joined: 30 Sep 2006, 03:37

Re: Changed Host, Links Not Working

19 Nov 2024, 02:00

Perhaps you have a link so I can see what's wrong?
sound_and_light wrote:It seems like the links are all missing the /content/ folder now.
What do you mean "links are missing"? You mean the website menu is empty? PAGE links will never include the /content/ dir in the url, because url's are virtual. The /content/ folder only contains the folders that in turn contain the page data and images.
sound_and_light wrote:So if I try to access a hypothetical in my gallery such as: http://mysite.com/myfolder/image1.jpg it breaks
It is/was never possible to access your images like that. All your images are somewhere inside the /content/ dir and thus must be accessed like that also.
sound_and_light wrote:but if I add the content folder in the path, it works: http://mysite.com/content/myfolder/image1.jpg
That's how images are loaded in X3
sound_and_light wrote:What do I need to do to fix it?  Can it be fixed in just one place?
If you have a link that can show me what's wrong, or better examples, I can assist properly.