后台先备份数据,防止失败后全部打不开后台设置——永久链接——开启apache2伪静态输入以下:RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]IniCopy