Quote Originally Posted by conor View Post
Hi Richard,



You shouldn't exclude any Zen Cart pages from the mapping using htaccess rules.



That means that this module isn't built to work with *static* URIs.. it must be using relative URIs. Change all of its link generation functionality (and links to CSS/JS files) to use *full* static paths instead of relative paths and it will then be compatible with your new static-URI based site! :)

E.g. this is wrong:

includes/templates/css/my_css_file.css

This is right:

/includes/templates/css/my_css_file.css

All the best..

Conor
ceon
Thanks. I'm presuming then that I need to change lines like this:

if (file_exists(DIR_WS_TEMPLATE . 'common/tpl_main_page.php')) {

I've tried changing it to:

if (file_exists('http://www.websiteaddress.com/includes/templates/uktemplate/common/tpl_main_page.php')) {

..but it doesn't find the file. Should I be using:

if (file_exists('/home/wwwloui/public_html/includes/templates/uktemplate/common/tpl_main_page.php')) {

Instead?

Thanks again,
Richard