PHP Classes

One Question about .htaccess ->

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  One Question about .htaccess ->  
Subject:One Question about .htaccess ->
Summary:.../?p=26 ====> /uer.php?username=26
Messages:2
Author:z_soltan
Date:2012-02-18 10:28:59
Update:2012-02-20 21:24:14
 

  1. One Question about .htaccess ->   Reply   Report abuse  
Picture of z_soltan z_soltan - 2012-02-18 20:18:10
Hello

—————
One Question ...
I need to convert this URL
for exampel:{like wordpress}

...../?p=26 ==> ...../user.php?username=26

I use this .htaccess but not work

Options +FollowSymlinks
RewriteEngine On
RewriteRule ?p=([a-zA-Z0-9_-]+)$ user.php?username=$1

please help me …

excuse me my language is persian
if my speaks not true
——————–

THANKS

There is 1 reply in this thread, which is not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.