• ddjjmm

    (@ddjjmm)


    Hey folks,

    I installed WordPress with MultiSite Support on a directory:
    https://www.servername.de/wordpress

    Now the website is ready and should be accessible under https://www.mydomain.de instead of the link above.

    I tried to install domain mapping plugin but it doesn’t work because I didn’t install wordpress in the root direcotry (here: https://www.servername.de/).

    So how can I get the new url workin? of course I can add a redirect via the webhoster but then the servername url will be shown in the browser.

    Just thought about 2 options:
    1) moving wordpress files to the root
    2) editing files and database manual for a url replacement ?!

    but in both cases I don’t know the exact way to do. Any suggestions?

    Only Problems with multisite ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I installed WordPress with MultiSite Support on a directory:
    https://www.servername.de/wordpress

    There’s your problem. You can’t do that.

    Move WordPress from /wordpress to just https://www.servername.de/

    Thread Starter ddjjmm

    (@ddjjmm)

    How can this be done correctly?

    What files / databases will I have to edit exactly?

    esmi

    (@esmi)

    Thread Starter ddjjmm

    (@ddjjmm)

    In the wp-config.php I have the following entries:

    PHP Code:

    define ('MULTI-SITE', true);
    define ('SUBDOMAIN_INSTALL', false);
    $ Base = '/ dev / wordpress /';
    define ('DOMAIN_CURRENT_SITE', 'name.server4you.de');
    define ('PATH_CURRENT_SITE', '/ dev / wordpress /');
    define ('SITE_ID_CURRENT_SITE', 1);
    define ('BLOG_ID_CURRENT_SITE', 1);

    , and my dev / wordpress / .htaccess looks like this:
    PHP Code:

    RewriteEngine On
    RewriteBase / dev / blog /
    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) .*) $ 2 [L]
    RewriteRule ^ ([_0-9a-zA-Z-]+/)?(.*. php) $ $ 2 [L]
    RewriteRule. index.php [L]

    Database entries, I’d have to modify in the following Dabell by hand:

    DEVwp_postmeta
    DEVwp_site
    DEVwp_options
    DEVwp_blogs
    DEVwp_usermeta

    Since I’ve at least found a direct URL entries.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    And Moving WordPress Multisite which is, alas, more complicated ??

    Thread Starter ddjjmm

    (@ddjjmm)

    Yeah and that’s the big problem! ??

    Seem to me that the only way to get worpdress working on the “LIVE URL” is to setup a new multisite system and integrating the old one?

    Think that will be very hard too?!

    Backup and Importing the old stuff would lead into similar problems?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If you edit the files, move everything, and then search the database for /foldername/ (whatever / dev / wordpress / really is), you SHOULD be able to just change that to / and be okay, but make backups first!

    Seem to me that the only way to get worpdress working on the “LIVE URL” is to setup a new multisite system and integrating the old one?

    No, not necessarily.

    In *your* case, since the original install is off in a subfolde,r then yes.

    But it is not true for everyone.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WordPress MultiSite Domain Change / Domain Mapping Problem’ is closed to new replies.