2

Here is my problem. I have a wordpress site, and I'm trying to make a file to migrate data from one database to another. So I have migration.php in wordpress root folder, but when I navigate to that file, I get error 404 Page Not found from Wordpress. I have tried different .htaccess fixes, but no luck my .htaccess looks like this

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
4

1 回答 1

-1

可能是文件权限或 .htaccess 设置导致了这种情况。此外,您应该确保该文件存在于真实文件系统路径中。

于 2012-11-17T14:39:56.060 回答