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?
WBOY
Release: 2016-08-31 08:41:04
Original
978 people have browsed it
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?
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn