• Resolved atxcloud

    (@atxcloud)


    Forgive me as I have seen this topic appear in my search efforts to resolve the issue on my own. I’ve now come forth to seek your advice.

    I’ve installed WP & built a site; currently on WP v.3.8.1. I’ve enabled multisite sub-domains & setup the wildcard with my hosting service provider.

    1) When I create a new site, the network dashboard shows it’s existence, but I am unable to view the site nor the specific site’s dashboard. Rather, I see “this page has a redirect loop.”
    2) if I remove the www. from my https://www.example.com I get thrown to the /wp-signup.php?new=example.com” page saying “Registration has been disabled.”

    My goal:
    1) Have a multisite network so that I can route my clients to their respective site; Sub-domain if it must, though I’ve have on other wp-mu installed paths.
    2) Should anyone type example.com instead of https://www.example.com have it redirect to the https://www.example.com.

    Here’s my wp-config.php

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', 'www.example.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    define( 'NOBLOGREDIRECT', 'https://example.com' );
    Here's my .htaccess:
    # BEGIN WordPress
    
    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]
    
    # END WordPress

    I hope I’ve been thorough enough for someone more knowledgable than myself to resolve this problem. I’m happy to share more info should you need anything.

    Thank you in advance,
    d

Viewing 12 replies - 1 through 12 (of 12 total)
  • Having the exact same problem when trying to create new sites in subfolders. Please help!

    Have you tried this?

    From: https://wpgarage.com/tips/wordpress-multisite-redirect-loop-for-www-site/

    The Solution: wp_blogs!
    With so many tables in multisite that kind of seem to be doing the same thing (a wp_options for each site within the multisite, wp_site, wp_blogs), we weren’t sure which one would be the magic place to add WWW. As it turns out, the answer was to add WWW to the url in ”domain” in the wp_blogs table!

    Otherwise, you could add this in your .htaccess file for each domain:
    RewriteCond %{HTTP_HOST} ^domain.com
    RewriteRule (.*) https://www.domain.com/$1 [R=301,L]

    Thread Starter atxcloud

    (@atxcloud)

    Hooray, partial solution!!! Thank you Maldanet!

    For the problem #2:

    Should anyone type https://example.com instead of https://www.example.com have it redirect to the https://www.example.com instead of the /wp-signup.php?new=example.com “Registration has been disabled.” page.

    Solution: add to .htaccess

    RewriteCond %{HTTP_HOST} ^domain.com
    RewriteRule (.*) https://www.domain.com/$1 [R=301,L]

    However, Problem #1 still remains: wp install for client1.example.com appears in the network dashboard, but that specific site’s dashboard (client1.example.com/wp-admin) yields a 404 error.

    Open for suggested solutions.
    Thank you in advance.
    – ATXcloud

    Thread Starter atxcloud

    (@atxcloud)

    Addition After reviewing my initial post, I would like to point out a change. It appears that, while the wp-site installation problem with client1.example.com persists, I am now no longer receiving an infinite loop. Rather,
    – client1.example.com yeilds my hosting service providers default advertising page.
    – client1.example.com/wp-admin yields my hosting service providers 404 page.

    Improvement, perhaps.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    client1.example.com yeilds my hosting service providers default advertising page.

    AHA! This means you’re doing subdomains wrong!

    client1.example.com needs to point to where example.com is installed, NOT its own location.

    Thread Starter atxcloud

    (@atxcloud)

    Do you mind, please elaborating on this. Thank you in advance.

    Thread Starter atxcloud

    (@atxcloud)

    What needs to be done to resolve this issue?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I can’t because the elaboration depends entirely on your server and host.

    Who’s your host?

    Thread Starter atxcloud

    (@atxcloud)

    I host with Bluehost.com

    Thread Starter atxcloud

    (@atxcloud)

    At the moment, I can log into the c-panel, create a subdomain folder and install a fresh WP through bluehost. I have client1.eample.com, and under the network dashboard, I can click on the client1.example.com dashboard. However, once I’m in the client1.example.com dashboard, I no longer apart of the network. There is no network drop down menu on the wp-menu bar, none of the plug-ins or themes are available as installed in example.com.

    It’s kind of messy, but at least I can have private site for the client and in a round about way, create log-ins and links back to the main site.

    Any advice on how to truly make it a network, without having to go through the blue host’s c-panel.

    Thank you in advance,
    -ATXcloud

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You MUST do this on cpanel, there’s no way around it.

    https://my.bluehost.com/cgi/help/527

    Thread Starter atxcloud

    (@atxcloud)

    Thank you Ipstenu (Mika Epstein).
    I’ve seen your support provided over the past few years, and I want to commend you on that and well as helping me with this.

    Much Appreciations and Rock On,

    – ATXcloud

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘multi-site not creating new sites, gives redirect loop.’ is closed to new replies.