Permalinks all messed up, I am helpless [closed]

There are probably more problems with your question than with WordPress. To get an insightful answer, it’d help to get us a clear idea about your setup. Don’t be shy about hiding your website link and it’s structure. This can help us figure it out.

To get the rewrite rules of your blog

add_action ('template_redirect', function() {
  global $wp_rewrite;
  var_dump($wp_rewrite);
});

That should help as a starting point.

error code: 523