0

我有一个 wordpress 网站,我正在尝试只更改主页。这意味着,当人们访问 www.example.com 时,他们将被重定向到 www.example.com/page.html 。所有其他请求都应该去他们通常去的地方——一个wordpress永久链接。

试过这个,但它不起作用。所有请求都转到 page.html

RewriteRule /$ http://www.example.com/page.html$1
4

1 回答 1

1

Use ruler for your index page, not for redirecting itself:

  DirectoryIndex page.html
于 2012-05-08T07:43:33.720 回答