![]() |
Making template system
Hello,
I'm trying to find ways to control my website with just one template.php file, and the only way I can think of at the moment is with htaccess. Code:
Options +FollowSymlinks I want every url to point to controller.php since depending on the URL, controller.php will select the correct filename from an XML file. for instance, xmldemo.astralaxiom.net would point to controller.php; selecting the main homepage by default. xmldemo.astralaxiom.net/Contact-Us would point to controller.php as well, but in the script I have prepared, searches for the "Contact-Us" in the XML. I just want htaccess to point to controller.php, doesn't matter what URL they type in. I made a huge google search for 2-3 weeks, but can't find my solution. Everything I come up with gives me an Internal Error, because it keeps looping. Code:
Options +FollowSymlinks Any help would be greatly appreciated. |
All times are GMT. The time now is 11:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|