admin管理员组文章数量:1433468
My site is giving a 500 error and I've been trying various ways to fix it. First, I'm trying to reset permalinks, but the options-permalink.php page is totally BLANK. Unlike all the other solutions I've found, the whole page is blank, it's NOT a WP admin sidebar showing with blank content. Is there another way I can reset the permalinks without going through the admin interface? Or another solution?
I've checked the .htaccess file and it seems fine, I've renamed it which didn't solve this, and I've even replaced it with the standard WP one. I've checked file permissions too and they seem fine.
If anyone has encountered this and could help me I'd appreciate it.
Edit: I've downloaded a clone of my site using Duplicator. I installed it on my localhost using MAMP. It worked out the box, no issues. I then deleted the original on my remote host, including the database, and then installed the same clone. I still get the 500 error. This would suggest it's not a database error.
My site is giving a 500 error and I've been trying various ways to fix it. First, I'm trying to reset permalinks, but the options-permalink.php page is totally BLANK. Unlike all the other solutions I've found, the whole page is blank, it's NOT a WP admin sidebar showing with blank content. Is there another way I can reset the permalinks without going through the admin interface? Or another solution?
I've checked the .htaccess file and it seems fine, I've renamed it which didn't solve this, and I've even replaced it with the standard WP one. I've checked file permissions too and they seem fine.
If anyone has encountered this and could help me I'd appreciate it.
Edit: I've downloaded a clone of my site using Duplicator. I installed it on my localhost using MAMP. It worked out the box, no issues. I then deleted the original on my remote host, including the database, and then installed the same clone. I still get the 500 error. This would suggest it's not a database error.
Share Improve this question edited Apr 12, 2019 at 14:18 RexTheRunt asked Apr 1, 2019 at 15:24 RexTheRuntRexTheRunt 493 silver badges11 bronze badges 7 | Show 2 more comments3 Answers
Reset to default 0Contact your hosting provider to increase php memory limit
and max execution time
If you get Fatal error: Allowed memory size of 67108864 bytes exhausted then place this code in wp-config.php
before ‘That’s all, stop editing! Happy blogging.’
define( 'WP_MEMORY_LIMIT', '256M' );
or deactivate all plugins and then try.
You can manually flush rewrite rules with flush_rewrite_rules
.
It sounds like your problem is more than just the rewrite rules, however.
本文标签: htaccessPermalinks settings page blank
版权声明:本文标题:htaccess - Permalinks settings page blank 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745596183a2665496.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
wp-config.php
add the linedefine( 'WP_DEBUG', true);
, or make sure it's set totrue
if it's already defined and set tofalse
. Then, you candefine( 'WP_DEBUG_DISPLAY', true );
to show errors anddefine( 'WP_DEBUG_LOG', true );
will create a file calledwp-content/debug.log
that will log errors. I would start debugging like that to find out what's going on. – phatskat Commented Apr 1, 2019 at 15:30500
error is just Apache/Nginx's was of saying something bad happened in PHP, don't know what it is, look at the PHP error logs for the actual error – Tom J Nowell ♦ Commented Apr 1, 2019 at 15:31wp-config.php
before‘That’s all, stop editing! Happy blogging.’
define( 'WP_MEMORY_LIMIT', '256M' );
– DHL17 Commented Apr 11, 2019 at 13:11