[英]I can't go to any pages or links off of my Wordpress Dashboard. Comes back as 404: Page Not Found. I have tried everything to fix it
我陷入困境。 突然,当我登录到WordPress管理员并转到仪表板时,该页面上的所有其他链接都指向404: Page Not Found
。 我无法进入设置,页面,帖子或其他任何内容。 它可以很好地加载仪表板,并且我的网站的前端功能完整( www.wapsifly.net )。 我无法更改或添加任何内容,因为无法通过仪表板访问任何内容。 我已打开调试,并且在浏览器或日志文件中未显示任何错误。 据我所知,在我们开始遇到这个问题之前,什么都没有改变。 没有添加,删除或更新任何插件。 在服务器上未进行任何更改。 对于这一切我真的很陌生,所以如果您需要我提供更多信息以帮助解决此问题,请告诉我。 我现在花了整整2天的时间来解决此问题。 我们需要在2019年8月1日(星期四)之前更新我们网站上的数据,所以我的时间已经用完了。 任何和所有建议将不胜感激。
我试过的
这是我添加到wp-config中以打开Debug的代码:
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', true );
// Force Display Errors even if disabled in php directive
@ini_set( 'display_errors', 1 );
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );
当我重建.htaccess文件时,这就是其中的全部内容:
# 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
如果可以访问,请尝试修复永久链接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.