+ 2

How to rewrite URL (Single Entry Point)

Hi. These days I am programming a Web App which is using Single Entry Point logic. I have routes specified in multidimensional array in ProjectRoutes.php Then I need to rewrite this URL: www.mywebsite.com/news/post?postName=abc to something like this: www.mywebsite.com/news/post/abc My question is: it's still possible to rewrite it even if I have routes specified directly in ProjectRoutes.php? If not, what are the alternatives?

12th Oct 2019, 6:38 PM
Matúš Jurko
Matúš Jurko - avatar
2 Réponses
15th Oct 2019, 1:02 PM
Leon lit
Leon lit - avatar
- 1
I recommend you to use frameworks.
23rd Oct 2019, 7:40 AM
Anıl
Anıl - avatar