newbie question - hide ext

Discuss practical ways rearrange URLs using mod_rewrite.

newbie question - hide ext

Postby fulgorek » Sat Nov 08, 2008 11:27 am

hi, after hours of read and read, trying and trying, i can do this:
i want to redirect from /file.php
to /othername/

i tried this : RewriteRule ^othername/?$ /file.php [QSA,L]

redirect but shows file.php on address bar

thanxs

PD sorry for my english.
fulgorek
 
Posts: 2
Joined: Sat Nov 08, 2008 11:22 am

Postby richardk » Sun Nov 09, 2008 11:51 am

Is that your full mod_rewrite?
Do you have anything else that could cause a redirect?
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: Majestic-12 [Bot] and 4 guests

cron