I have uses google webmaster to know the broken links of my website and it generate some broken links because of I have change my website core to framework in php now I want to fix broken links through .htaccess file. Here is my .htaccess file code but first of all my link look like
campuslabs.com/enroll-student.php
and now my new link look like
campuslabs.com/enroll-student
and I am using some .htaccess file code for redirection
RewriteCond %{QUERY_STRING} enroll-\+student.\+php\
RewriteRule (.*) http://campuslabs.com/enroll-student? [R=302,L]
when I using this it throw 500 error. So, How can we fix it ?Please help me.
Thank You