haohaolee
V2EX  ›  WordPress

请问如何把wordpress页面的绝对地址改为相对地址

  •  
  •   haohaolee · May 28, 2011 · 5250 views
    This topic created in 5660 days ago, the information mentioned may be changed or developed.
    比如我的blog是 http://example.com/blog
    页面里面的href都是这样的绝对link
    想要改成 href="/blog/xxxx" 这种
    因为我可能有让不同domain指向同一site以及同时提供https和http的需求

    找了一下似乎没有特别好的插件做这个,不知道这个问题有什么好的解决方案
    1 replies  •  1970-01-01 08:00:00 +08:00
    haohaolee
    haohaolee
    OP
    May 29, 2011
    1
    。。似乎这种不叫相对路径
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3227 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 05:33 · PVG 13:33 · LAX 21:33 · JFK 00:33
    ♥ Do have faith in what you're doing.