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

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

影清如梦
影清如梦

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

reply all(3)
prof

-_-!Ha ha

影清如梦

Don’t Shen A

影清如梦

Give it a thumbs up and wait for the answer

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template