View Single Post
Old 04-06-2008, 01:24 PM   #1 (permalink)
Enlighten
Junior Member
 
Join Date: Apr 2008
Posts: 2
Default .htaccess mod_rewrite ..want /page/ but showing as page.php

I had no idea which forum to post this in, there doesn't seem to be a fitting one.

I'd like to transform "page.php" into something like "/page/"


update: Okay I've altered my .htaccess to this

Code:
Options +FollowSymLinks RewriteEngine on RewriteBase /site/ RewriteRule ^page/?$ page.php [R=301,NC,L]

The page loads, but now it's showing page.php in the address bar?

thanks..

Last edited by Enlighten : 04-06-2008 at 01:55 PM.
Enlighten is offline   Reply With Quote
Sponsored Links