WordPress.org

Ready to get started?Download WordPress

Forums

Installing multisite for domain which is not powered by WordPress (10 posts)

  1. pavelevap
    Member
    Posted 2 years ago #

    Hi, this is the special case and I am not sure if it is even possible.
    There is special website and system on domain and no chance to move it to WordPress. But on subdomains it would be helpfull to have multisite installation for blogs etc. Is it possible? Where (and how) to install multisite to achive this? Thank you very much for your ideas...

  2. Not easily. You'd have to be pretty savvy with domains and such.

  3. pavelevap
    Member
    Posted 2 years ago #

    Yes, but I would like to try it. I do not know where should be better to start? Installing multisite on any subdomain? Or subdirectory of main domain? Any idea?

  4. evertslagter
    Member
    Posted 2 years ago #

    I've got it working but it's running slow.
    I created 2 subdomains and pointed them to the same directory in my server setup.

    sub1.domain.com -> /sub1
    sub2.domain.com -> /sub1

    I installed WP on sub1.domain.com. Added the MU settings and added sub2. After adding sub2 I needed to change the url from sub2.sub1.domain.com to sub2.domain.com.

    In your config.inc.php add

    define( 'NOBLOGREDIRECT', 'http://domain.com' );
    $cookie_domain = '.domain.com';

    They all work, accept... it's slow, really slow, it slows down my whole server. All none related sites as well. So their seems to be a problem with the mapping if it's no installed in the root directory of you domain.

    No solutions found yet. So Any idea's are welcome.

  5. In your config.inc.php add

    Yeah, don't ever, ever edit core like that.

    Try using domain mapping plugins instead.

  6. evertslagter
    Member
    Posted 2 years ago #

    Sorry, that should have been
    wp-config.php

    Working on different site's at the same time... :(

  7. Ah. That will (mostly) work.

    Still, don't edit the URLs in settings like that. You cna do it with mapping, and it'll run a bit faster.

  8. evertslagter
    Member
    Posted 2 years ago #

    I have no clue what exactly happens if you runs this:
    wp-admin/upgrade.php
    But it definitely speeded up the MU back-ends of all sites.
    See: http://wordpress.org/support/topic/wp-admin-of-secondary-blogs-runs-super-slow?replies=17#post-2261774

    @Ipstenu, thanks for the support.

  9. pavelevap
    Member
    Posted 2 years ago #

    @shortye: So, slowdown was not related to installing multisite on subdomain? It would be great... Maybe this can be somehow related to this issue: http://core.trac.wordpress.org/ticket/18292 ?

    I created 2 subdomains and pointed them to the same directory in my server setup.

    How it was achieved? With the help of .htaccess or any other way (symlink)?

  10. evertslagter
    Member
    Posted 2 years ago #

    @pavelevap Could be, but doesn't seem likely, the problem occurred on a fresh 3.3.1 install. So it feels more like a db entry that's get reset or properly set. But I'm really not an expert on this problem.

    I've got a Parallels panel running on the server where you can easily add subdomains and point them to their corresponding directory. (In my setup the dir is outside the root of the main website ( /var/www/httpdocs/ v.s. var/www/subdomain/ )

    Hope it helps.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.