skip to Main Content

Long URL in php using htaccess – Apache

I have a very long URL: //domain/administration/registrar/term_detail.php?a_id=47 And I want to make it looks like: //domain/administration/registrar/detail/47 I have created an htaccess file in //domain/administration/registrar/. Below is my code in htaccess and it is not working. Any suggestion of what I…

VIEW QUESTION

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