WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] WordPress Multisite New Site 500 Internal Server Error (11 posts)

  1. John Peden
    Member
    Posted 2 years ago #

    Hi,

    I'm running a number of WordPress installations on a single apache webserver and I'm trying to set it up so that new sites appear on my two WPMS networks like this:

    • network1.domain.ac.uk/site1
    • network1.domain.ac.uk/site2
    • network2.domain.ac.uk/site1
    • network2.domain.ac.uk/site2

    When I create a new site, I get a 500 internal server error for either the site itself or the dashboard. You can see my:

    Everything is working perfectly, aside from new sites which return a 500 internal server error.

  2. John Peden
    Member
    Posted 2 years ago #

    Correction...everything is not working perfectly.

    Only the homepage and the dash are visible. EVERYTHING else gives a 500 internal server error.

  3. John Peden
    Member
    Posted 2 years ago #

    Ok, getting further.

    This line fixes/breaks everything:

    RewriteBase / (pages display, new sites return a 404)
    RewriteBase /hub/ (500 internal server error on everything)

    Before I had the domains setup, the sites were setup like this:

    I moved the sites onto their respective domains and I assume that this is where the problem lies.

    Just can't get my head round what exactly is broken.

  4. Well. You can't just pick up and move Multisite for one.

    Also you can't have network1.multisite.com/subsites and network2.multisite.com/subsite unless you set up WP as follows:

    Install WP in multisite.com

    Create subdomain network.

    Install a Multinetwork plugin.

    Create subsites off your subsites.

    If you just picked up and moved Multisite off your local host, there's a search/replace tool you should use. See http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Multisite

  5. John Peden
    Member
    Posted 2 years ago #

    Hey man,

    Obviously I ran a search and replace on my entire DB before moving the site and importing it. If I hadn't, the site wouldn't be working as well as it is.

    The organization I'm working for runs hundreds of sites on subdomains of its academic domain and as a result there is no way I'll be able to install on the root .ac.uk domain.

    They had this all working on another server which was hacked and is now sat behind a very strict firewall and isn't in use.

    I'm pretty sure I've seen all the relevant settings but is there anything else I can look for on the hacked server?

  6. John Peden
    Member
    Posted 2 years ago #

    Additionally, I moved the old sites to new subdomains using the exact same approach. No problems there.

  7. John Peden
    Member
    Posted 2 years ago #

    Got it working. Deleted multisite references from wp-config, emptied my .htaccess file, deleted these tables from my databases:

    • _blogs
    • _blog_versions
    • _site
    • _sitemeta

    Then I re-enabled multisite in wp-config and ran through the installation process again, making sure subdomain install was set to false.

    Hope this helps someone else!

  8. Obviously I ran a search and replace on my entire DB before moving the site and importing it. If I hadn't, the site wouldn't be working as well as it is.

    Did you use the tool linked to on the page I pointed you at?

    Because if not, that's why. You cannot just do a basic search/replace with a Multisite. Or you get exactly what you got.

  9. John Peden
    Member
    Posted 2 years ago #

    Ah,

    That makes sense now. I didn't use the tool as I'd already got the site up-and-running.

    Obviously there are a few variables hidden in there somewhere that didn't like my approach.

    Thanks for your help man.

  10. Homesh Paul
    Blocked
    Posted 1 year ago #

    hi john penden ,

    i am facing the same issue i have setup the multiwebsite option through the wp-config.php and after i follow all the steps change .htaccess code provided by installation process.

    the main issue on the website is i am creating a new website and when i visit to the website it show up a 500 error page. not working at all.

    please help me for this.

    thanks.
    homesh paul

  11. Please post your own new topic with your own details.

    Also do not post again is all caps, your post has been de-capped. It's considered rude. ;)

    http://wordpress.org/support/forum/how-to-and-troubleshooting#postform

Topic Closed

This topic has been closed to new replies.

About this Topic