Home  >  Article  >  Backend Development  >  html - thinkphp url question, please give me the answer

html - thinkphp url question, please give me the answer

WBOY
WBOYOriginal
2016-08-25 10:37:301006browse

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.

Statement:
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