Jamesking56
08-28-2011, 10:11 PM
Hey,
I'm trying to make a .htaccess file for my new site.
the first thing I want my .htaccess to do is to change my .php extension into a /. Like so:
http://www.example.com/about.php
to
http://www.example.com/about/
Then, I want it's sub sections to be created logically. Like so:
http://www.example.com/about-section.php
to
http://www.example.com/about/section/
How do I do this in my .htaccess file?
I'm trying to make a .htaccess file for my new site.
the first thing I want my .htaccess to do is to change my .php extension into a /. Like so:
http://www.example.com/about.php
to
http://www.example.com/about/
Then, I want it's sub sections to be created logically. Like so:
http://www.example.com/about-section.php
to
http://www.example.com/about/section/
How do I do this in my .htaccess file?