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
.htaccess redirection problem
Moderator: General Moderators
Re: .htaccess redirection problem
I'm not an expert on mod_rewrite, but I'd say if you make a rule for OpenX FIRST, it will direct to the right place.