WebSite X5Help Center

 
David K.
David K.
User

Pictures in Header and Footer do not display  en

Author: David K.
Visited 213, Followers 1, Shared 0  

Hi. I have a website which I load onto a Subdomain of my website: fr.mon-info.eu

When I upload with Website X5, files are placed into a "/fr" folder under the root. However, when I am opening the page, there is no header or footer picture. 

Posted on the
4 ANSWERS
Paul M.
Paul M.
Moderator
Best User of the month EN

Hello David,

What do you have entered as the WebSite Address (URL) in Step 1 WebSite Settings > General tab?

It looks like your server configuration has a restriction in place on serving images from the /fr folder or subfolders within it.  Check for the presence of an .htaccess file in those directories which prohibits jpg, png, gif files, etc.  -  your webhost can help you with this if you're not sure where to look for it.

If you check the error log on your server (from your webhost control panel) then it may well give you a clue as to exactly what the restriction is.

Also check in the server control panel for something called 'Hotlink Protection' and either switch it off completely, or configure it so that you can fetch images from the necessary directories.

WebSite X5 places the majority of its images within the files, images and res folders within the document root.

Everything else actually looks OK from what I can see.

Kind regards,

Paul

https://webx5.pro

Read more
Posted on the from Paul M.
Esahc ..
Esahc ..
Moderator

For what it's worth, if you go to mon-info.eu/fr the pictures are there . . . . 

Does the hosting perhaps not offer sub-domains?

Read more
Posted on the from Esahc ..
David K.
David K.
User
Author

@Paul: Thats it, i added an exception for Hotlink protection, and the probleme was solved.

@Esahc: Indeed, Indeed two ways to access the page. Strange... I would prefer to deactivate direct access to "mon-info.eu/fr/" and keep "fr.mon-info.eu"

Read more
Posted on the from David K.
Paul M.
Paul M.
Moderator
Best User of the month EN
David K.
Indeed two ways to access the page. Strange... I would prefer to deactivate direct access to "mon-info.eu/fr/" and keep "fr.mon-info.eu"

That's actually normal behaviour...  it's how subdomains work.

You can enforce the http://fr.mon-info.eu address by making an entry in your .htaccess file:

RewriteEngine on
RewriteBase /

RewriteRule ^.*/fr/(.*)$ http://fr.mon-info.eu/$1 [R=301,L]

Read more
Posted on the from Paul M.