I have to to make my URL into a friendly URL.
I have this in my .htaccess file:
RewriteRule http://localhost/test/client/this_is_test_page.php$ http://localhost/test/test-page [NC,R=301,L]
but now I'm getting HTTP 500 internal server error.
What could be causing this, and how can I fix it?
You should not have HTTP_HOST in your pattern according to the apache documentation :
Your rule should be something like :
And you should have
mod_rewriteenabled,RewriteEngine OnandAllowOverride.