我正在使用IIS,没有任何包含索引的URL重写。最后是php。自定义permalink结构为:/index.php/%year%/%monthnum%/%postname%/
问题是home\\u url函数不包含索引。php,所以如果我想引用自定义页面<?php echo home_url() . \'/my-page/\'; ?>
退货http://domain.com/my-page/ 但我需要的是http://domain.com/index.php/my-page/ .
是否有包含索引的WordPress函数。php还是我必须输入自定义的代码?
N、 B.我试过了Googling, 但大多数链接都指向重写URLnot 我想要什么。