• Resolved Dierk Hobbie

    (@dierkhobbie)


    After successfully creating the subdomain “genealogie.hobbie.de” I manually installed Multisite nd my intention was to create another subdomain named “newhome.hobbie.de”.
    What I got is a subdomain named “newhome.genealogie.hobbie.de”. It is correctly shown under “My Websites” but this site cannot be found.
    As Multisite as such seems to work the change in file “wp.config.php” should be correct.
    The file “.htaccess” was changed to:

    # 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).*) WordPress_01/$1 [L]
    RewriteRule ^(.*\.php)$ WordPress_01/$1 [L]
    RewriteRule . index.php [L]

    </IfModule>

    # END WordPress

    So, what is my mistake ?
    Or better, how to solve my problem ?

    Regards, Dierk Hobbei, Germany

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • JNashHawkins

    (@jnashhawkins)

    You created your multisite as a subdomain so WordPress dutifully builds the new sites under that subdomain giving you sites like ‘newhome.genealogie.hobbie.de’ and other such sub-subdomains.

    You’ll need to tell DNS about those subdomains and tell your hosting Control panel how to direct that traffic to the proper subdirectory on your host to find WordPress.

    You can further use the domain mapping feature to map sites to less cumbersome subdomains. such as your ‘newhome.hobbie.de’ but you’ll also need to create that record (or a wildcard record) in DNS and tell the CP how to find that WordPress instance.

    You can’t just point to the IP address as the WordPress has nothing in the server root to tell it where the rest of the site is unless you create something there to do that.

    To edit the domain mapping at your WordPress Network you’ll need to go to…

    Dashboard –> My Sites –> Network Admin –> Sites and select the edit button for the site you wish to change. Careful!!!!

    Go to settings and you’ll be able to change the site URL and the address as needed.

    Keep notes of the changes as you go as you’ll probably break things. WordPress makes it difficult to break the whole network but you can royally break a single site.

    Remember… DNS needs to know where the subdomain needs to go (sub-subdomain in your case).

    The Control Panel needs to know what subdirectory WordPress is in for the sub-subdomain.

    You can correct or shorten the subdomain by mapping the name properly.

    When I learned this we didn’t have domain mapping in WordPress itself. We had to use a plugin. This is much better nowadays.

    Thread Starter Dierk Hobbie

    (@dierkhobbie)

    Thank you for this detailed explanation and help.
    I shall do so tomorrow.
    Regards Dierk

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Access problem with subdomains after Multisite installation’ is closed to new replies.