aiseo
V2EX  ›  问与答

nginx subs_filter 如何替换动态 URL

  •  
  •   aiseo · May 21, 2018 · 2218 views
    This topic created in 3029 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   ·   Privacy   ·   Solana   ·   889 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 20:52 · PVG 04:52 · LAX 13:52 · JFK 16:52
    ♥ Do have faith in what you're doing.