我正在使用Rewrite Plugin
从Wordpress插件站点:Wordpress Plugin Page
我正在尝试获取以下URLhomes-for-sale-details/4420/217007490/177/Fb-landing-page
在子目录中调出自定义PHP页面propertylisting1
. 所以这是我的规则:
^homes-for-sale-details/4420/217007490/177/Fb-landing-page(.*)$
propertylisting1/index.php
这似乎是可行的,因为当我转到那个URL时,它实际上会检测到它,但它不会显示我想要它显示的页面,它会将我重定向到主页,完全重定向我。
我在上面也有规则。