htaccess - Permalinks settings page blank

My site is giving a 500 error and I've been trying various ways to fix it.First,I'm trying to reset permal

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
  • 1 In your wp-config.php add the line define( 'WP_DEBUG', true);, or make sure it's set to true if it's already defined and set to false. Then, you can define( 'WP_DEBUG_DISPLAY', true ); to show errors and define( 'WP_DEBUG_LOG', true ); will create a file called wp-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:30
  • 1 A 500 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:31
  • Possibly dumb question: Is it just the permalinks page that's blank/giving the 500 error, or is every other page having that problem too? – Loren Rosen Commented Apr 1, 2019 at 16:20
  • It's just that page on the back end, all others are loading. Front end has no pages loading. – RexTheRunt Commented Apr 1, 2019 at 16:25
  • 1 @RexTheRunt deactivate all plugins and then try or Increase PHP Memory Limit in WordPress for ex. place this code in wp-config.php before ‘That’s all, stop editing! Happy blogging.’ define( 'WP_MEMORY_LIMIT', '256M' ); – DHL17 Commented Apr 11, 2019 at 13:11
 |  Show 2 more comments

3 Answers 3

Reset to default 0

Contact 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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745596184a4635130.html

相关推荐

  • htaccess - Permalinks settings page blank

    My site is giving a 500 error and I've been trying various ways to fix it.First,I'm trying to reset permal

    13小时前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信