Page 1 of 1

Remove .php File Extensions

Posted: Wed Jul 27, 2011 3:31 pm
by unemployment
How do you remove the .php from the file extensions in the URL? I've noticed a lot of companies now don't showcase what type of server side language they use. Is this something that would need to be figured out in .htaccess?

Re: Remove .php File Extensions

Posted: Wed Jul 27, 2011 7:59 pm
by Dylan
Short Answer:
Yes, .htaccess can do that.

Longer Answer:
They are generally called "vanity" URLs. Jacek touches on them during his template tutorial series.

Dylan is lazy and just google's URLs Answer:
http://net.tutsplus.com/tutorials/other ... etty-urls/
http://www.sitepoint.com/forums/php-34/ ... 19177.html
http://www.webdesignerforum.co.uk/topic ... ent-users/
http://www.developphp.com/dev_forum/vie ... nity%20url
http://betterphp.co.uk/playlist.html?pi ... 1A4FB3EE40

Re: Remove .php File Extensions

Posted: Thu Jul 28, 2011 1:15 pm
by unemployment
After digging I figured it out. Thanks.