Hi there,
I have just move hosts with our website and it loads the frontpage but non of the subsequent pages. The site works like this, depending on the variables in the address depends which page and which template are loaded into it. If the template is "ros" it loads rosettes template, if it is "tro" it loads trophy template, and then the name of the item, ie "hazel" will load up the hazel product page. All it is doing at the moment is loading the home.php page.
The code to do this is below:
<?
if (!isset($template)) {include ("static/home.php");} else if (isset($id)) {
if (!file_exists("site_templates/$template.php")) {
echo "OOPS! <P> The template you have requested does not exist!<BR><BR><BR><BR><BR><BR>";
}elseif (file_exists("site_templates/$template.php")) {
include ("site_templates/$template.php");
}
}
?>
It worked with our last host, but refuses to work now. Is there someone out there that can help.
Thanks in advance,
Phil