Support » Plugins and Hacks » [Resolved] Internal Server Error after installation

[Resolved] Internal Server Error after installation

  • after installation (using the automagic buttons and making suggested backups) I can log on to my page and see the homepage but every link is broken and I get:

    Internal Server Error

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    so in my panic I deleted the plugin (it’s reinstalled now though) and deleted the htaccess-file, but still my site isn’t working anymore. please help, as I can’t figure out the problem, although I guess it’s something with the permalinks.

    Website Root Folder: http://eva.progresstination.net/portfolio
    Document Root Path: /home/progr468/public_html/eva
    Server / Website IP Address:
    Host by Address: hp62.hostpapa.com
    DNS Name Server: ns2.hostpapa.com
    Public IP / Your Computer IP Address:
    Server Type: Apache
    Operating System: Linux
    Server API: cgi-fcgi – Your Host Server is using CGI.



Viewing 15 replies - 1 through 15 (of 26 total)
  • Plugin Author AITpro


    Ok i see that this is a subdomain website with a subfolder site installation of WordPress.

    The subdomain site appears to be setup correctly and I can see that it loads fine using the progresstination.net/eva/ URL.

    What type of website is the subdomain website? I see that the index file is an index.html file.
    You will probably need to add an HTML .htaccess file manually for this site. You would download the secure.htaccess file from the bulletproof security plugin folder /bulletproof-security/admin/htaccess/secure.htaccess and would change all instances of index.php to index.html and change this below also and then upload the modified HTML .htaccess file and upload it to to your /eva folder and of course rename it from secure.htaccess to just .htaccess. Also the RewriteBase for your subdomain site is going to be RewriteBase / since it is a root website:

    # Use index.php as default directory index file
    # index.html will be ignored will not load.
    DirectoryIndex index.php index.html /index.html

    Is the WordPress subfolder site in this folder /eva/portfolio?

    Is AutoMagic creating the RewriteBase correctly for this subfolder site – it should be RewriteBase /portfolio/ ?

    You can check this by going to the Edit/Upload/Download page and clicking on the “Your Current Root htaccess File” tab.

    It appears that you are using /%postname%/ for your Custom Permalink Structure so that looks fine.

    Are both BulletProof Modes being activated successfully?

    Plugin Author AITpro


    hmm ok i see the problem.

    if i go to these URLs without using the subdomain prefix eva i see 404 errors so it appears that there is a problem with where the actual subfolder site is located/installed.


    Plugin Author AITpro


    This internal URL works fine so yep you have some kind of issue going on with your site architecture/site structure. unless of course this is another site???


    uhhh, I’m so glad you responded… so I try to answer your questions:

    First, everything (wordpress) is in the portfolio-folder, and I think its using index.php, see http://www.progresstination.net/exchange/screenshotFTP.png
    My current roots htaccess file reads:
    # If you edit the line of code above you will see error messages on the BPS Security Status page
    # This is a standard generic htaccess file that does NOT provide any website security
    # The DEFAULT .HTACCESS file should be used for testing and troubleshooting purposes only
    # 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]
    # END WordPress
    Can/should I make any changes there?

    I’ve manually uploaded the htaccess file, after have added a “#” before “Options -Indexes”, as it was adviced in a different thread about this topic. didn’t help though.

    As I have re-installed it but not activated anything, no Modes being activated right now I guess.

    progresstination.net is an other wordpress site of mine. I have no problems there so far.

    the problem only affects my page: eva.progresstination.net/portfolio

    on this page everyhting was working until I tried to use the plugin

    Plugin Author AITpro


    Hostpapa allows the Options directive so yeah you do not need to comment that out.

    Ok so your screenshot shows that the portfolio site is a subfolder site installed under a subdomain site. subdomain sites are root websites because of the way DNS A Records work.

    So the RewriteBase for the portfolio site should be this RewriteBase /portfolio/ but the .htaccess file code you posted above shows a root website RewriteBase. I guess AutoMagic is not seeing this as a subfolder site for some reason.

    Manually change your .htaccess code using the BPS built-in .htaccess file editor and change your RewriteBase and also change your RewriteRules to…

    RewriteRule . /portfolio/index.php [L]

    If everything is working correctly with your URL’s using the Default .htaccess file then you will need to make these same manual file edits when you activate BulletProof Mode for your root folder.

    or since BPS looks at your WordPress site settings that you have under Settings >>> General >>> WordPress Address (URL) and Site Address (URL) then probably the better thing to do would be to set these correctly.

    I believe those URL paths would be, but i am not 100% sure about this.

    What settings do you currently have under WordPress Address (URL) and Site Address (URL)?

    Plugin Author AITpro


    Or maybe the correct URL paths would be…


    Plugin Author AITpro


    Well the real issue is your Site Url settings are not correct and you are now seeing this because you are using an .htaccess file that is reflecting that existing problem.

    Plugin Author AITpro


    The BPS Default .htaccess file is a standard WordPress .htaccess file so even if you use the standard WordPress .htaccess file then you are still going to have this issue/problem.

    Be very careful about changing your URL settings to correct settings otherwise you will have to use phpMyAdmin to change the URL’s in your
    WordPress Database.


    just to make this clear:
    I have a subdomain of progresstination.net called:
    eva.progresstination.net (where my old flash-portfolio is visible)

    i was working on my new wordpress-portfolio, which I installed under
    eva.progresstination.net/portfolio. [after finishing this site I meant to simply redirect from eva.progresstination.net (my old subdomain-portfolio) to eva.progresstination.net/portfolio (new one).]

    alright: WordPress Address (URL) and Site Address (URL) both say
    problably no need to enter same URL twice

    ok, I’ll try to make the changes to htaccess, reads now:
    # DENY ACCESS TO PROTECTED SERVER FILES – .htaccess, .htpasswd and all file names starting with dot
    RedirectMatch 403 /\..*$

    RewriteEngine On
    RewriteBase /portfolio/
    RewriteRule ^wp-admin/includes/ – [F,L]
    RewriteRule !^wp-includes/ – [S=3]
    RewriteRule ^wp-includes/[^/]+\.php$ – [F,L]
    RewriteRule ^wp-includes/js/tinymce/langs/.+\.php – [F,L]
    RewriteRule ^wp-includes/theme-compat/ – [F,L]

    RewriteEngine On
    # RewriteBase /
    RewriteBase /portfolio/
    # RewriteRule ^index\.php$ – [L]
    RewriteRule . /portfolio/index.php [L]

    no access to dashboard, homepage gone too!

    so I temporalily deleted the htaccess, logged in my site again, what do I have to do before uploading manually changed htaccess?

    Plugin Author AITpro


    Let me install a subfolder WordPress installation under one of my subdomain websites and then i will be able to tell you what the correct URL settings are. Give me about 15 minutes to do this and i will post back here. thanks.

    uhhh, seems you’re right: something’s wrong with my URLs, cos after re-entering
    as my WordPress Address (URL) it tells me:
    The Site address you entered did not appear to be a valid URL. Please enter a valid URL.

    I’m starting to feel a bit desperate.
    i installed wordpress via hostpapa and they sent me this:
    A new installation of WordPress 3.4.2 has been completed. The details of the installation are shown below:
    Path : /home/progr468/public_html/eva/portfolio
    URL : http://eva.progresstination.net/portfolio
    I never manually changed my WordPress Address (URL)…

    man, you are just great and awfully helpful. thank you so much!!!

    Plugin Author AITpro


    No problem and actually i have been meaning to check out what happens with subfolder sites installed under subdomain sites to no biggee. 😉

    it is possible that there is some kind of “hinky” issue going on with aliasing so once i find out for sure what the correct URL’s are then that is a solid starting point. will post back here in a minute – still setting up the site.

    PAGE WORKS AGAIN after having “insisted” a few times to enter:
    http://eva.progresstination.net/portfolio/(!WITH a “/”) at the end
    in both fields:
    WordPress Address (URL)
    Site Address (URL)

    (BPS deactivated & htaccess file deleted)

    so I guess no BPS for subdomain-subfolder-fools like me?!

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘[Resolved] Internal Server Error after installation’ is closed to new replies.