• Resolved ChaosByDesign

    (@chaosbydesign)


    Here’s my deal – fresh 3.5.1 install, GoDaddy hosting (apache on windows os). I try to add a new site using subdomains. If I’m in the Network Admin dashboard > Sites I can see the new site I just added, however all I get is a 404 when I try to go to the new site’s dashboard. I’ve messed with the .htaccess using every thing I could find in here, but I’m not having any luck with this. I reverted everything back to the scratch rules that WP has listed in the Codex so I can try to get this hashed out without any other issues coming up.

    Here’s the tail end of my wp-config file where all of the changes have been made:

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'afsachapter1674.org');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    /* That's all, stop editing! Happy blogging. */
    
    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    And here’s my .htaccess:

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi,

    Exactly the same for me (http://wordpress.org/support/topic/htaccess-file-for-zeus?replies=2#post-3850195)

    Does Godaddy use Appahce or Zeus?

    Thread Starter ChaosByDesign

    (@chaosbydesign)

    GoDaddy uses Apache.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    GoDaddy hosting (apache on windows os).

    Can you switch to linux? It’s a LOT easier there.

    Thread Starter ChaosByDesign

    (@chaosbydesign)

    Can you switch to linux? It’s a LOT easier there.

    A lot easier as in subfolder multisite will work on a linux/apache server?
    It’s can be done, but it’s not really feasible right now.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    A lot easier as in WordPress and Multisite are happier and work right out of the box on GoDaddy.

    Thread Starter ChaosByDesign

    (@chaosbydesign)

    Shouldn’t that info be in the Codex, perhaps under “Debugging a WordPress Network”? Because that is pertinent information that would have saved me from countless hours of banging my head against the desk trying to get this to work.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    We try REALLY hard not to point fingers at hosts, since there’s a good chance GoDaddy’s working on it. Though had you asked them in advance if there were any issues with Multisite on their servers, I suspect they’d have also told you that you can’t use wildcard subdomains unless you spring for a dedicated IP.

    You should talk to them 🙂 Having a good rapport with your webhost is one of the best things you can do.

    Thread Starter ChaosByDesign

    (@chaosbydesign)

    Well, here’s the thing, I did talk to them at length about the Multisite issues. They were about as clueless about it as I was, and what help they did provide was nothing more than Google searches to find a possible answer (although I’m not knocking them for trying, as WP Multisite is one helluva curveball for them to answer).

    Also, I was trying to use a second domain routed to a subfolder, not wildcard subdomains. I could have swore when I initially typed the first post I put subfolders in there.

    But if the core problem here is that Multisite configuration doesn’t work on a Windows server, but it does on a Linux server, then again, that info should be in the Codex. Had I known that from the start I would have switched the server OS first thing (and yes it is possible on GoDaddy to do that for no additional cost).

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    No no, Multisite DOES work on Windows, it’s just harder and there are FAR fewer people who know how to help you with it. Hence it’s a LOT easier on Linux, I happen to know it’s free to swap on GoDaddy, and it’s just less painful.

    I have it running on an IIS box right now, but please GOD don’t ask me to do it again. it’s more a case of IIS is a stupid POS than anything :/ The web.config I had to have someone else do for me, and I’m still not sure how it works.

    Hi! I just wanted to hop in and add my agreement to the mix. You definitely want to be on our Linux platform for WordPress to be at its “best.”

    It is no cost to switch over and we have an easy step-by-step to move you there right here: http://go.me/YR

    Also, I apologize if during your talk with support you weren’t advised about using Linux. That’s definitely something we should have addressed.

    ^Cj

    Thread Starter ChaosByDesign

    (@chaosbydesign)

    Switching to Linux was mentioned to me, but I made the decision at the time to not switch due to one site already being live and not wanting to add in additional downtime unless there was specifically something about running on Windows that was causing issues. Since we’re only running two sites in this case it’s easier to just do two WP installs. However I am keeping all of this in mind when I switch hosts later this year, since I’ll be running multiple sites for my own business.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Fresh Install Can't View Subfolder Multisites’ is closed to new replies.