+ 1

Convert php links

must of people aks how to convert php links like /page.php?name=about into ../page/about or ../about ?? upvots to get the best answer.

1st Oct 2016, 4:31 PM
Driss Baidou
Driss Baidou - avatar
2 Answers
+ 1
Did you mean, you want to change the url ('bla.com/page.php?name=foo' to be 'bla.com/page/foo')??? You can use HTACCESS in order to make change in url without change your PHP code. Make sure you create a '.htaccess' file in the root folder of your project.
15th Nov 2016, 12:38 AM
Fendi Septiawan
Fendi Septiawan - avatar
0
what do you mean? explain it more please
4th Oct 2016, 10:08 AM
Jelmer de Vries
Jelmer de Vries - avatar