我正在为项目使用wordpress, 并且在本地一切正常, 当我在服务器主页中部署该文件夹时, 它工作正常, 但是当我单击任何链接或导航到任何其他url时, 就会出现404错误。
->我尝试删除.htaccess文件。我当前的htaccess文件在服务器中
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
谁能告诉我如何避免所有页面的404错误。
#1
转到仪表板->设置->永久链接, 然后单击保存。尽管你不应该从phpmyadmin中删除永久链接值, 但是不确定你在此所做的工作, 但这应该可以解决原始问题。
来源:
https://www.srcmini02.com/64350.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_41422.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57