I have a few PHP websites. A few weeks ago the links on those websites just decided to stop working. I didn't change anything. Not the code, not the server, nothing. The links just stopped working all by themselves.
Both websites are set up with template.php/index.php as the structure and plain html pages for the content.
the index php:
<?php
$MainPage = "template.php"; // Main Template File
$Content = "./page"; // Location of Content
$PageExtension = ".php"; // What comes at the end of the x...
$default = "/lucia/home.htm";
require ("template.php");
?>
the template php:
<?php
if(!$x) {
include("../$default");
} else {
include("../$x"); }
?>
example of broken link:
http://infraredwebdesign.com/lucia/index.php?x=lucia/lucia.htm
the default content (home.html) is still showing up, even when you click links to other pages on the site.
please help!!! i've been trying to fix this for days.