• I need a serious help here. I am a beginner to WordPress, but I have searched extensively for the solution to my current problem and it has done nothing so far..

    Problem; I get Error 500 from login screen to all of my pages, no matter what.
    I know it has something to do with the wp-config.php

    What I’ve done;

    1)I’ve backed up the
    /.htaccess
    /wp-config.php
    /wp-content/themes/
    /wp-content/plugins/
    /wp-content/uploads/
    MySqL

    2)Reinstalled wordpress. At this point, I can log in

    3)Replaced the “new” wp-config.php with the “old back up” of wp-config.php.
    I get the Error 500. But strangely, I had a couple of times where I temporarily get the access to my all posts.

    What I need is to get back all of my old posts. It seems to me it’s the wp-config.php that has them. But it is the source file which creates the Error 500..

    WHAT SHOULD I DO!?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Well, I am not an expert but i have read about this error 500 in some german forums. In their case they added to their htaccess file:
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    Dunno if it works but at least you can have a try.
    good luck

    Thread Starter airanblogs

    (@airanblogs)

    I will try!

    I just want to get all of my posts back and keep the same URL for the sake of SEO. I don’t care doing the themes and functions again from scratch..

    Thread Starter airanblogs

    (@airanblogs)

    Didn’t work..

    Any other suggestions?

    Moderator t-p

    (@t-p)

    Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.

    If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your SFTP or FTP client to view invisible files.

    If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you don’t have access to your server error log, ask your hosting provider to look for you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error 500 and wp-config.php’ is closed to new replies.