wordpress rewrite faild and index.php 404-

#1
i have install the wordpress at /,and when i try to enable the rewrite like the rules:
---
Code:
RewriteRule ^/index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /. /index.php [L]
OR
Code:
RewriteRule ^/index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /index.php [L]
[code]
----
and enable index:
index.htm index.php
[/code]
http://domain/index.html ,received 404 .
index.php is well.
but rewrite for post ,tag,cat are work well.only get 404 when i try to open index.html.
 

lsfoo

Administrator
#2
Hi hostyup,

Did you configure index files in your virtual host?

In the web admin, it's Virtual Hosts->the_vhost->General->Index Files. Both index.html and index.php should be listed.

Cheers,
Kevin
 
Top