Wordpress permalinks not working 500 error

I made some kind of mess, my site worked fine, but I made some changes to wpconfig, I canโ€™t remember, and the result is that if I donโ€™t use permalinks and use a simple page identifier, the whole site works, and if I will try to use all the individual breaks to use permalinks, but the home page as well as the admin panel continue to work.

It always gives 500 internal server errors

Anyone has ideas on what could go wrong.

PS> I deleted .htaccess and created a new one and copied the code specified by wordpress, but it still does not work.

my NewsKase website

+6
source share
2 answers

I had the same problem. My WordPress site worked great until I changed my permalinks. All my individual links break, but the main page, as well as the admin panel, continue to work. When I use a simple page identifier as a permalink, the whole site works.

There are several things that can cause this problem. The following publication lists some of the features you can find to find the root of your permalink problem.

https://economictheoryblog.com/2016/07/29/self-hosted-wordpress-permalink-problems/

+7
source

Try the following:

  • Get a new copy of wp-config.php and enter your data in the database (username, pw, name, table prefix).
  • Delete htaccess file
  • Regenerate permalinks (admin - settings - permalinks)
  • Make sure the server has mod-rewrite on
+3
source

All Articles