Home >Backend Development >PHP Tutorial >The framework itself has default routing, and the server itself also has URL rewriting, so why do we usually use the routing function of the framework instead of the latter to beautify URLs?
rt, for example, thinkphp itself has a default route. In order to beautify the URL, why not rewrite it with the URL of the server itself, but use the routing of the framework itself? Is the latter more efficient?