How thinkphp implements customization of url aliases
影清如梦
影清如梦 2019-02-23 11:16:49
0
4
2022

The specific scenario is:

  1. When the cms system adds columns or news, you can customize the url alias

    For example, one of my urls: http://cms. evd.cc/listing/12.html

    I want to make the following 12.html variable, and set the English alias in the background according to the user. If I

    set it to test, the front desk When accessed, it will become http://cms.evd.cc/listing/test.html

  2. Many people say to use tp5 routing, but tp5 routing only It can simplify the url, but cannot realize the variable alias of

    url

  3. Please give some advice, I don’t know how to do it

影清如梦
影清如梦

今天的你势必与昨天的你不一样

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!