• Resolved angelaherself

    (@angelaherself)


    Okay, I am stumbling through multi user setup and just when I think I’ve got it, something else is wrong.

    Basically, I got it all working and my main site (http://www.dreamwell.com/ – which was initially broken) is now OK. But when I went to create my first sub blog, the email I got says:

    Your new Dreamwell Theatre Sites site has been successfully set up at:
    http://board.dreamwell.comdreamwell_wp/
    You can log in to the administrator account with the following information:
    Login Here: http://board.dreamwell.comdreamwell_wp/wp-login.php

    Why is “dreamwell_wp” being tacked on the end of dreamwell.com? If I remove it from the path and just go to http://board.dreamwell.com that doesn’t work either/anyway, btw.

    For reference, here are the content of my .htaccess:

    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]

    And here are the contents of my web config (I am going to guess this is where I’ve gone most wrong. I can already see the line that pertains to subdomains but I don’t know what to do now that I already have it set up, or what the correct line would be.):

    /** Enable or disable Worpress Multi-site features **/
    define('WP_ALLOW_MULTISITE', true);
    
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'www.dreamwell.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    Thanks you for setting me straight, anyone who happens to be trolling for WP multi user noobs to help out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 1) Why is “dreamwell_wp” being tacked on the end of dreamwell.com? If I remove it from the path and just go to http://board.dreamwell.com that doesn’t work either/anyway, btw.

    It’s an issues with Dreamhost’s One Click in stall option. it adds your database name to the confgi file with the same variable name that multisite uses. OPen up wp-config.php, scroll to the bottom, find the line that says $base = dreamwell_wp and REMOVE IT.

    2) How do I make it so http://www.dreamwell.com/ AND http://dreamwell.com/ (no www’s) both go to the main site?

    redirect people to the main page. Open up that config file again and add this line:

    define( ‘NOBLOGREDIRECT’, ‘http://www.dreamwell.com/’ );

    3) I had intended to used the sub-directories instead of the subdomain structure, but I see this was set up with sub domains. Can I modify this or should I just remove my additions to the web config and .htaccess and start over?

    You can change it without starting over. Find this line in the config file:
    define( 'SUBDOMAIN_INSTALL', true );
    Change it to false.
    Go back to the network menu item and get the new htaccess rules and paste them in the htaccess file.

    you will get a /blog/ stuffed in the permalinks on the main site.

    I also edited your post to remove the non-relevant sections, as posting your db passowrds in publicx is a bad idea. 😉

    Thread Starter angelaherself

    (@angelaherself)

    Andrea:

    Ha! I didn’t realize I had pasted the login info from the email. Thanks for looking out for me! Eeeks!

    And a huge thanks for your help! Everything is just as it should be now!! I have been reading other posts of yours for help already. Thanks for helping me – and so quickly!

    Angie T

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

The topic ‘New Sub Sites Don't Work – Extra Code Being Tacked Domain End’ is closed to new replies.