html - thinkphp url question, please give me the answer

WBOY
Release: 2016-08-25 10:37:30
Original
1005 people have browsed it

How is such a URL www.thinkphp.cn/topic/12083.html generated?
And mine is localhost/taobao/index.php/Goods/index/id/1

Use the page cache in tp? Or what?

Reply content:

How is such a URL www.thinkphp.cn/topic/12083.html generated?
And mine is localhost/taobao/index.php/Goods/index/id/1

Use the page cache in tp? Or what?

html - thinkphp url question, please give me the answer
In this part, you can configure the virtual host in Baidu. For index.php, http://doc.thinkphp.cn/manual...
.html, just set pseudo-static 'URL_HTML_SUFFIX' => 'html '

Please read the tp document in detail, it is very comprehensive.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template