| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Bask
Join Date: Feb 2005
Posts: 5,175
|
Using .htaccess to change url file extensions
Hi Folks - is there a an easy way for me to rewrite the following www.example.com/thing.php to www.example.com/thing ?? I did a search or two but couldn't find a consistent method. I have used a folder named thing with an index.php file before now, but need a cleaner method for an indexed site that needs some careful SEO. Cheers, Limbo Last edited by Limbo : 04-09-2006 at 10:23. Reason: Better title for SEO |
|
|
|
|
|
#3 (permalink) |
|
Shiv.
Join Date: Jul 2006
Location: Elsewhere
Posts: 1,109
|
For Apache: URL rewriting |
|
|
|
#4 (permalink) |
|
fucksocks™
Join Date: Jun 2005
Location: in the boosh
Posts: 1,615
|
Code:
that should do it. but have a play. I've found this cheatsheet pretty useful for getting your head round the basics. |
|
![]() |