WordPress设置了固定链接经常会出现如下的报错:
The requested URL /1.html was not found on this server.
解决方法
找到apache配置文件httpd.conf,将配置文件中的AllowOverride none改为
AllowOverride All即可;注意
以上配置完成还未结束。还得在网站根目录添加.htaccess文件,不然依旧会报错,添加内容如下:
RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] 该文章转载来源:,转载文章地址:http://iknowyouask.com/957.html