Answer the question
In order to leave comments, you need to log in
How to remove .php from htaccess?
Now the link to the page is mysite.com/ind.php?pg=mypage&n=12 You
need to get something like mysite.com/ind?pg=mypage&n=12
That is, to remove .php from the links
Tried
RewriteEngine on
RewriteRule ^ind?pg=mypage$ ind.php?pg=mypage
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question