- Code: Select all
rewriteEngine on
Options +FollowSymlinks
rewriteCond %{REQUEST_FILENAME} !-d
rewriteRule ^([^/]+)/$ /users.php?profile_name=$1 [L]
^^
This is my .htaccess
I got it working (mysite.com/username/) for about 3 mins.. ? After 3 minutes it stopped working.. I don't understand how this happend as I didn't edit anything ?! This is frustrating me because I have looked everywhere for a answer and no one has it! How do I get this stupid thing to work!
Example.. (www.m3diaserver.com/users.php?profile_name=ThunderLee)
[That is the full address to a users channel]
I want it to be www.m3diaserver.com/ThunderLee/
Is the above .htaccess file correct?
Please help me I have been trying to figure this out for 5 hours now and I'm frustrated (as you may notice )