.htaccess redirection problem
Posted: Sat Mar 20, 2010 3:21 am
Hey guys,
Previously I set my .htaccess to redirect my users to view their profile easier like this
http://www.domain.com/john
which actually it redirect to profile.php page but still displaying http://www.domain.com/john on url area
Now, Im try installing OpenX software which I put the folder under public_html. But guess what, when i try to install the software/opensource to my server it doesnt work. I guess it interferes with the profile redirection.
Every time i want to install/open the OpenX folder like this, http://www.domain.com/OpenX it redirect to profile.php
How do I fix this??
below is my .htaccess code
---------------------------
RewriteEngine On
RewriteRule ^([A-Za-z0-9]+)$ profile.php?username=$1
---------------------------
Thanks
Azhan
Previously I set my .htaccess to redirect my users to view their profile easier like this
http://www.domain.com/john
which actually it redirect to profile.php page but still displaying http://www.domain.com/john on url area
Now, Im try installing OpenX software which I put the folder under public_html. But guess what, when i try to install the software/opensource to my server it doesnt work. I guess it interferes with the profile redirection.
Every time i want to install/open the OpenX folder like this, http://www.domain.com/OpenX it redirect to profile.php
How do I fix this??
below is my .htaccess code
---------------------------
RewriteEngine On
RewriteRule ^([A-Za-z0-9]+)$ profile.php?username=$1
---------------------------
Thanks
Azhan