• I converted my WordPress installation to a multisite with subdomains some time ago. Since then, more often than not, I constantly get 501 Internal Server Errors as I try to move around the network admin panel. For example, if I try going to https://orenstransitpage.com/wp-admin/network/, I get a 501 error. If I type in /wordpress manually in to the URL before /wp-admin, things work, but chances are I’ll have to type it in manually to the URL several times as I update something. I can’t get the “info boxes” for plugins to show up, etc. My htaccess file is as follows:

    [Large code excerpt removed by moderator per forum rules. Please use Pastebin or a Gist for all large code excerpts]

    Code excerpt here: https://pastebin.com/TT7sSVGi

    The websites themselves work fine so I assume the issue is in the htaccess file. Any help/guidance is appreciated!

    • This topic was modified 7 years, 10 months ago by bdbrown.
    • This topic was modified 7 years, 10 months ago by bdbrown.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The issue appears to be related to some line of code in .htaccess file for sure.

    Try to replace this code:

     # BEGIN WordPress
    <IfModule mod_rewrite.c>
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    
    </IfModule> 

    with

     RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L] 

    And see if that will fix your issue.

    Have you tried contacting your web host, and to ask them to check on the site’s error logs?

    If you are using cPanel, you may be able to check on them as well.

    1. Login to cPanel

    2. Click the Error Log button from within the Logs section of the main panel.

    You can now see the most recent errors from your website.

    Thread Starter orenstransitpage

    (@orenstransitpage)

    Thanks for the suggestion, I don’t see any changes in the code there however, unless you thought I should completely edit the part where it says # BEGIN WordPress
    <IfModule mod_rewrite.c> and leave out the </IfModule> tag at the end. I did make the change and it doesn’t seem to have had any effect.

    Thread Starter orenstransitpage

    (@orenstransitpage)

    Would moving the orenstransitpage.com site back in to the wordpress directory make any difference?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘501 Errors on Multisite Network Admin Panel’ is closed to new replies.