View Single Post
  #1 (permalink)  
Old 04-28-2007, 10:03 PM
jap jap is offline
Junior Member
 
Join Date: Apr 2007
Posts: 23
Default Overriding the modrewrite structure

Hi,

I'll get straight to the point.
When you have 4 small pages like 'disclaimer, contact info, sitemap, about us,...'
And you wanna make an url like http://localhost/sitemap/ or /disclaimer/
You are forced to create a controller for each stupid small page you want to make... which I think is just not necessary.

Now I've made a controller called StaticpageController.php but now I have to do
http://localhost/staticpage/disclaimer

How do I make the rewrite engine just use /disclaimer ?

Thanks,
Jasper
Reply With Quote