No more images an CSS in admin part after domain name change

Author Message

Adrien Mogenet

Thursday 23 July 2009 10:00:55 am

Hi folks,

I installed my eZ Publish application in a folder that I reached by this way :
http://global.domain.com/ez-publish
Everything went fine.

Then, I bought "my-domain.com", and I can reach my application directly typing "my-domain.com".
So, I changed the SiteURL setting in "site.ini", the front office is fully available without trouble, but when I try to go to "my-domain.com/index.php/ezwebsin_site_admin", I can't see any images, and CSS are not loaded correctly.

It seems to still work if I use the admin part through the old URI (global.domain.com/ez-publish/index.php/ezwebsin_site_admin).

Does anyone know I have to do to fix it ?
Thanks,

Adrien

PS: I just notice that a page like "http://global.domain.com/index.php/ezwebin_site_admin/content/action" is also not available anymore

Gaetano Giunta

Friday 24 July 2009 12:24:14 am

Did you try clearing the eZ Publish cache? Links to images/css might have been created using the old path that included the "ez-publish" part in the url.

If you look into the html of the pages, or use a tool like firebug, you should be able to tell whether the url to those images is right or wrong.

If it is correct (wrt. the new configuration), then try copying the url for an image and opening it directly in a new browser tab. If you get an eZ page instead of an image, your problem is related to the .htaccess file

Principal Consultant International Business
Member of the Community Project Board

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.