skip to Main Content

how to get PHP Smart URL – Apache

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.…

VIEW QUESTION
Back To Top
Search