My website has URL like this
domain.com/profile.php?id=your_profile_id
now how do i turn it into URL like this
domain.com/profile/your_profile_id
I tried this thing in .htaccess
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule !.*\.php$ %{REQUEST_FILENAME}.php [QSA,L]
and it's just helps me to remove .php extension. not the exact thing what i want. Thanks in advance. have a great day.