WordPress.org

Ready to get started?Download WordPress

Forums

[closed] MU sites have no admin panel (21 posts)

  1. QuicksilverQueen
    Member
    Posted 2 years ago #

    I followed the directions perfectly. The child site will show up, but when I try to go to the admin of it, it says This is somewhat embarrassing, isn’t it?

    It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.

  2. What's in your .htaccess? Is it correct? (It's really easy to mess that up)

  3. QuicksilverQueen
    Member
    Posted 2 years ago #

    This is my .htaccess:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    </IfModule>
    
    # END WordPress
    
    # secure htaccess file
    <Files .htaccess>
     order allow,deny
     deny from all
    </Files>
    
    # disable directory browsing
    Options All -Indexes
    
    # provide a universal error document
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^.*$ /dir/error.php [L]
  4. You should always put the WP calls at the bottom.

    You're using subdomains?

    # secure htaccess file
    <Files .htaccess>
     order allow,deny
     deny from all
    </Files>
    
    # disable directory browsing
    Options All -Indexes
    
    # provide a universal error document
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^.*$ /dir/error.php [L]
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    </IfModule>
    # END WordPress
  5. QuicksilverQueen
    Member
    Posted 2 years ago #

    Ohh, ok. No, I wanted folders. I wanted to create a site for my photography on my domain without having to use another wordpress install to get a different theme.

  6. QuicksilverQueen
    Member
    Posted 2 years ago #

    Now it says:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@quicksilverdesigns.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

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

  7. Betty Donelly
    Member
    Posted 2 years ago #

    Hello,

    I encounter a similar issue

    My network Superadmin dashboard has disappeared, even though it was functioning normally before today, when i installed a fresh Multisite WordPress Network in the root folder /public_html

    Me too i still have access to the normal site dashboard and the site is still live.

    I get a different error message when trying to access my Network dashboard at SITE//wp-admin/network/ :

    Fatal error: Call to undefined function get_current_screen() in ...PATH/wp-admin/network/settings.php on line 22

    My code in the .htaccess file is the exact one that i copied upon install, the one in Network Setup.

    Here it is:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    I hope this helps you experts to solve the problem.

    Thanks in advance

    Betty

  8. Betty Donelly - Make your OWN topic please. It's really hard to help two people in the same thread. (Basic rule: If a topic is resolved, or you don't have 100% the same error, make your own topic.)

    QuicksilverQueen - If you wanted subfolders, first check your wp-config.php and see what SUBDOMAIN is set to. It should be false.

    if that's done, grab the .htaccess from: http://codex.wordpress.org/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress
  9. QuicksilverQueen
    Member
    Posted 2 years ago #

    Yes please create your own thread, Betty -- it's really rude to take over mine with a completely different problem.

    New plan: moving the my sites to subdomains cuz it screwed with my pages, unless there's a way to have pretty permalinks and subdirectory sites...

  10. You can have pretty permalinks on subdirectory. However you WILL change the URLs of your main site's POSTS to domain.com/blog/postname

  11. QuicksilverQueen
    Member
    Posted 2 years ago #

    The main site didn't have any posts...and its pages don't work now either (500 error). I'm really frustrated. :-/

  12. 500 error is usually your .htaccess.

    Try this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    </IfModule>
    # END WordPress

    That should get you past the 500, however it would imply that mod_rewrite isn't on for your server.

  13. QuicksilverQueen
    Member
    Posted 2 years ago #

    I have Dreamhost. I checked, and it said mod_rewrite is on. That .htaccess stuff in your previous post didn't work either.

  14. Did it give you the error 500, though?

  15. QuicksilverQueen
    Member
    Posted 2 years ago #

    Yes, it's still a 500 error.

  16. *blink* That's ...

    Um.

    Okay, the reason I said to put the <IfModule mod_rewrite.c> wrapper is that it will prevent an error 500 in the event there's somethign wrong with the rewrites (or you have mod-rewrite off).

    Use what I gave you as the COMPLETE .htaccess. Get rid of everything else. Maybe it's not WP but some of the other code.

  17. QuicksilverQueen
    Member
    Posted 2 years ago #

    I went ahead and uninstalled it so I can actually use the main site for now. I'm definitely going to try again though.

  18. ru4god
    Member
    Posted 1 year ago #

    Hi,
    I have tried to find a solution for this problem and had no luck.

    I had the subdomain setup working initially and then decided to switch to subfolder setup. I made the necessary changes to wp-config and .htaccess

    Here's how my htaccess looks

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    </IfModule>
    # END WordPress

    It looks like the subfolder setup went through ok, but when I try to create a site (after putting in the site address, site title and admin email) I get a blank page.

    When I refresh the page, it says the site already exists.

    It is not listed under 'My Sites'. But it is listed in the Network Dashboard - All sites.

    When I try to visit the page, it goes to my homepage. But when I try typing the full url in the address bar, i get to the page (it looks like a new site page), but it says 'This is somewhat embarrassing, isn’t it?'

    I am using bluehost, and it is on a shared hosting plan and so they cannot do AllowOverride FileInfo Options

    They also said that the mod_rewrite was enabled.

    I noticed that there was no user setup in this new site and so when I create a user the site shows up under 'my sites' but that's all... i cannot update the site name or add post or change settings. it goes to a blank page.

    Any help will be greatly appreciated! Thanks in advance!

  19. BH_WP_Guru
    Member
    Posted 1 year ago #

    ru4god: You need to start your own post and not write on someone else's.

  20. ru4god
    Member
    Posted 1 year ago #

    this is the same issue as discussed earlier but without a solution (i thought)

  21. ru4god
    Member
    Posted 1 year ago #

    i created a new topic with the title - Subfolder setup - error in creating a new site - page not found

    sorry for inconvenience.

Topic Closed

This topic has been closed to new replies.

About this Topic