aiseo
V2EX  ›  问与答

nginx subs_filter 如何替换动态 URL

  •  
  •   aiseo · May 21, 2018 · 2098 views
    This topic created in 2965 days ago, the information mentioned may be changed or developed.

    原地址:/products/list?category_id=2

    需要结果:/products/classify/2.html

    subs_filter products/list?category_id=([0-9]+) products/classify/$1.html igr;

    我这样写没反应,请教大佬们指点下

    谢谢了

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5413 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 07:11 · PVG 15:11 · LAX 00:11 · JFK 03:11
    ♥ Do have faith in what you're doing.