How to restoremy site back showing 500 internal server error!!!

Hi,
I'm trying to be cool and just get back to work after some days off and now my site is now showing 500 internal server error, how can I bring it back to its former state? Site url: http://sportvisionng.com
Regards

  • Adam Czajczyk

    Hey Barni,

    I hope you're well today and thank you for your question!

    The "500 internal server error" is not very specific, unfortunately. This means that it can occur for many different reasons.

    Have you made any backups of your site? Or perhaps your hosting provider is making these? What were the last changes you've made to the site? Please advise!

    You may also want to try following solutions (if first doesn't work, try next one):

    1. Increase PHP memory limit:

    - create an empty file and name it php.ini
    - put this line inside

    memory=256M

    - save the file
    - upload it to your server (root folder, where your domain points to) via FTP

    2. Deactivate all plugins

    - access your site via FTP
    - go to the "/wp-content/" folder
    - rename "/plugins" folder to "/plugins.old"
    - try accessing the site.

    Let me know of the results!

    Cheers,
    Adam

  • Barni

    Hey @Adam Czajczyk, thanks, but non of the above tip works. I created php.ini and uploaded it and rename plugin folder toold but site still showing 500 error. Could it be the .htaccess? Here is the content for it;
    # BEGIN WordPress<<IfModule mod_rewrite.c>RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteRule ^svn/(.*) /wp-content/themes/SVN/$1?p_hide_my_wp=1234 [QSA,L]
    RewriteRule ^Newspaper/(.*) /wp-content/themes/Newspaper/$1?p_hide_my_wp=1234 [QSA,L]
    RewriteRule ^svn_main/(.*) /wp-content/themes/Newspaper/$1?p_hide_my_wp=1234 [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

  • Adam Czajczyk

    Hey Barni,

    Thanks for the information!

    You're right, .htaccess file might be a reason as well although I cannot confirm 100% sure that it is in this case. The nature of "500 internal error" is, as I mentioned before, quite undefined so we'll never now this until we try :slight_smile:

    That said, you can try following step:

    1. rename your .htaccess to something else.

    This will break your WP functionality but if .htaccess is a culprit here, you should be able to access the site at least.

    2. Try putting a default WP .htaccess on your server (keep yours just in case as a backup):

    # BEGIN WordPress

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Let me know of the results!

    Cheers,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.