Modrewrite Help

Associate
Joined
27 Jan 2005
Posts
830
Could anyone be kind enough to give me some help on mod rewrite?

I have a site and it's going to have your usual index, services, contacts etc sections. However, I want the URL to have no .html or .php. I'm also thinking of putting each main file in a folder and all sub pages of that area contained to that folder.

1) Can anyone help me code this. I've looked all over search engine and can't find anything that shows me how to do both things?

2) Will the actual web page files on server will still have to be saved services.html, contact.html etc etc.

3) The hyper links within the site shouldn't have the file extension and fine just linking without extension?
 
I will be actually having folders in the site directory. SO I don't think any needf for that to be in the code your produced> there will be over 20 pages - 4 main pages with a load of subpages for each of the 4 catagories. All of these will be in the relevant folders.

Just need some assistance to create some code that hides the .html & .php file extensions.
 
Last edited:
Back
Top Bottom