开发者

How can we do this via .htaccess?

We need to display the data from a wordpress install on a current page. Example would be: This page: http://www.example.com/facts/index.php

needs to display the content from this page: http://www.example.com/news/new-facts/index.ph开发者_StackOverflow中文版p

How can we do this via .htaccess?


Yes you can.

RewriteEngine On
RewriteRule ^/facts/(.*)$ /news/new-facts/$1

Not sure if WordPress would accept that.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜