• I am setting up a multi-site implementation for a site and I am just about to wrap it up.

    This bug is interesting, the situation follows:

    1. User is logged in
    2. User has created subdomain
    3. User attempts to go to mysite.domain.com
    4. Request results in 404

    If anonymous user accesses mysite.domain.com, it works without issue.

    wildcard domain is setup on host properly.

    Permalinks are different from main to subdomain ~ which might be the difference.

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

    (@ipstenu)

    ?????? Advisor and Activist

    A 404 is an interesting problem. How is it formatted? Like your server’s 404 or like WP’s?

    Thread Starter snewby

    (@snewby)

    The 404 is coming back as WP, with my theme wrapping it, not the host 404.

    Strange that it only happens when the user is logged in, and works perfectly fine when there is no user logged in or admin is logged in.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Which theme? The main site or the subsite?

    And do you have any caching running?

    Thread Starter snewby

    (@snewby)

    It is the theme of the subsite, yes I am running Quick Cache. I will try tonight to turn that off and see if the that is causing the issue.

    Thanks!

    Thread Starter snewby

    (@snewby)

    I turned off quick cache, and installed 404 error monitor plug-in on the site. Same result, monitor picked up up, but didn’t tell me anything.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What other plugins are running network wide?

    And what’s in your .htaccess?

    Thread Starter snewby

    (@snewby)

    htaaccess file contents…

    # Use PHP5CGI as default
    AddHandler fcgid-script .php
    
    # BEGIN s2Member GZIP exclusions
    <IfModule mod_rewrite.c>
    	RewriteEngine On
    	RewriteBase /
    	RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+
    	RewriteRule .* - [E=no-gzip:1]
    </IfModule>
    # END s2Member GZIP exclusions
    
    # 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).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    </IfModule>
    
    # END WordPress

    all sorts of plugins…
    advanced custom fields
    s2member
    exec-php
    profile builder
    user role editor
    role scoper
    wp show ids
    fancybox
    google analytics
    gravity forms
    import users from csv
    export users to csv
    online back up for wordpress
    quick cache
    really simple captcha
    store locator plus
    wordpress SEO

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Well… My GUESS is one of your user managment plugins is doing it :/ It makes the most sense.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Multisite subdomain 404 when user logged in’ is closed to new replies.