WordPress.org

Ready to get started?Download WordPress

Forums

Getting ../wp-signup.php?new=mydomain.com loop after multi-site installation (9 posts)

  1. LanceGrigsby
    Member
    Posted 3 years ago #

    Just created a network from an existing installation of WordPress 3.0. Followed instructions *exactly* as written here. The main site URL is now redirecting to the structure http://www.mydomain.com/wp-signup.php?new=mydomain.com.

    My goal is to have a main portal page (i.e., the main admin blog) show up at the base URL, and have sub-sites appear as subdirectories. I'm seeing older posts about this problem here and here, but I'm still stuck. Anybody got any ideas? Eventually, I want to be able to use the domain mapping plugin to map a domain to a subdirectory.

  2. Does domain.com work? SANS the www.

  3. LanceGrigsby
    Member
    Posted 3 years ago #

    Hello ipstenu. Yes, well, ... maybe. I deleted the www from the URL and it then redirected to www. So I guess maybe not.

  4. Is there something in your .htaccess to redirect no-www to www?

    I've only seen this lately when someone has a mix of http://www.domain.com and domain.com in their settings for the main multisite.

    Or in wp-config, the URL has NO www and the multisite style is set to subdomains and not subfolders.

  5. LanceGrigsby
    Member
    Posted 3 years ago #

    Here's the relevant portion of my wp-config file:

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'www.mydomain.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    As I said, this is an existing installation, so subdirectories will be what I'll be using. Should the subdomain section be changed to false? .htaccess settings look like:

    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]

    ... Vanilla .htaccess right out of the multi-site instructions.

  6. Yeah if you want SubFOLDERS change this in your wp-config.php:
    define( 'SUBDOMAIN_INSTALL', true );

    to
    define( 'SUBDOMAIN_INSTALL', false );

    At a wild guess, that may fix it.

  7. LanceGrigsby
    Member
    Posted 3 years ago #

    ipstenu, I think you've helped me fix the problem. Seems to be working fine now and NOT appending the ../wp-signup.php?new=mydomain.com after the base URL. Thanks!

  8. asshu
    Member
    Posted 3 years ago #

    On some domains I have installed wordpress via an auto-installer and later configured it as multisite. But when ever I create the wordpress site using auto-installer .It doesn't give me the .htaccess file by default .So I do create an empty file with the name .htaccess in cpanel and paste the code to it.

    "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]"
    
    Is it a right method ?
  9. rakeshdatt
    Member
    Posted 3 years ago #

    hi,

    I am also facing the sample problem. But i am using subdomain instead of subfolders.

    if i change the following entry
    define( 'SUBDOMAIN_INSTALL', true ); to define( 'SUBDOMAIN_INSTALL', false );
    It will solve the problem but i need subdomain.

    Kinldy tell in subdomain case how can i solve this issue. i mean how will i remove the "/wp-signup.php?new=mydomain.com" from my domain.

    Regards
    Rakesh

Topic Closed

This topic has been closed to new replies.

About this Topic