Support » Networking WordPress » New Installs are Broken

Viewing 8 replies - 1 through 8 (of 8 total)
  • What’s in your .htaccess and what did you add to the wp-config?

    adam4jmj

    (@adam4jmjgmailcom)

    wp-config.php

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    $base = '/';
    define('DOMAIN_CURRENT_SITE', 'streetevangelization.org');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    .htaccess

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

    esmi

    (@esmi)

    Forum Moderator

    Never, EVER, post login details on a public forum! You have just given the rest of the world full access to your database. Change your database username and password NOW.

    adam4jmj

    (@adam4jmjgmailcom)

    ok.

    Don’t bump.

    You may need to ask goDaddy for help on this, since if you set everything up correctly, there’s no reason the subfolder should be redirecting to your main site unless there’s another .htaccess rule pushing things around.

    adam4jmj

    (@adam4jmjgmailcom)

    Godaddy had no idea what I was talking about. Support just said that there is “no subfolder for streetevangelization.com/template/” so that is why it redirects to the root URL.

    He suggested the only way to get multiple wordpress sites to work on Godaddy is to create my own subfolders and do a fresh install each time.

    adam4jmj

    (@adam4jmjgmailcom)

    When I create a new site:

    1. http://streetevangelization.com/template/wp-admin/ works
    2. http://streetevangelization.com/template redirects to http://streetevangelzation.com/
    3. http://streetevangelization.com/wp-admin/network/site-info.php?id=8 works correctly.
    4. All links in the admin to edit or go to the new ‘template’ site do not work. They all link to http://streetevangelization.com instead of http://streetevangelization.com/template/

    adam4jmj

    (@adam4jmjgmailcom)

    Okay, I just discovered something fascinating.

    1. I had edited the .htaccess file to default to the theme “responsive”
    2. When I deleted that line and made a new network site, it worked.
    3. If I activated the responsive theme, it broke everything again and reverted to the original problem I had.
    4. If I tried to change it back to WP’s default theme, it wouldn’t do it.

    So it seems as long as you do not use responsive as a theme, you can create network sites.

    I wonder why that is.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘New Installs are Broken’ is closed to new replies.