我已将wordpress网站从Linux托管迁移到Windows托管(cpanel到plesk)。以下是详细信息:
Linux:http://projects.iqlas.com/ongoing-projects/2015/gogreen/03062015/ Windows:http://mangium.com/projects/ggiqatar/29082015/
但是,在Windows中,没有index.php
,网站就无法运行用.htaccess尝试了不同的步骤,但没有用。
这是.htaccess文件。
#Begin Wordpress
<IfModule mod_rewrite.c>
RewriteEngine On
DirectoryIndex index.php index.html index.htm
RewriteBase /projects/ggiqatar/29082015/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /projects/ggiqatar/29082015/index.php [L]
</IfModule>
AddHandler x-mapp-php5.5 .php
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /projects/ggiqatar/29082015/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /projects/ggiqatar/29082015/index.php [L]
</IfModule>
# END WordPress
任何人都可以建议必须做些什么。感谢。