.htaccess is not working in my domain
Posted: Tue Mar 22, 2011 6:16 am
hi
i want to redirect url like http://domain.com/username.php?username=bhanu to http://domain.com/bhanu
for this i was cocde in .htaccess file
i got in server like this
Oops! This link appears to be broken.
please help me out...
hope i got result.
thank you in advance.
regards
bhanu
i want to redirect url like http://domain.com/username.php?username=bhanu to http://domain.com/bhanu
for this i was cocde in .htaccess file
this is working in my localhost. but i didn't get in my domain. i have uploaded all the files.RewriteEngine On
RewriteRule ^([a-zA-Z0-9_-]+)$ user.php?username=$1
RewriteRule ^([a-zA-Z0-9_-]+)/$ user.php?username=$1
i got in server like this
Oops! This link appears to be broken.
please help me out...
hope i got result.
thank you in advance.
regards
bhanu