I am trying to replace link but ending with internal server error
www.domain.com/profile.php?id=1 i want it to ->
www.domain.com/1 .htaccess
RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.domain\.com$ RewriteRule ^login\.php\/?(.*)$ "http\:\/\/domain\.com\/$1" [R=301,L] RewriteRule ^([^/]*)$ /profile.php?id=$1 [L]