WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 403 Forbidden and WP-Signup Redirect (2 posts)

  1. RareCola
    Member
    Posted 2 years ago #

    I set up multi-site on a blog the other day and been non-stop running into problems.

    First problem I was receiving was, when receiving the code for wp-config the DOMAIN_CURRENT_SITE included the "www." portion, which to my understanding shouldn't exist there, so I removed it. Upon removing it I couldn't access my WP-Admin due to redirecting me to WP-Signup.

    The second problem is that when creating a secondary site I got a "403 Forbidden" issue and attempting to access the site's dashboard resulted in a "Not Found" page.

    I honestly have no idea what is going on, thought it may be a problem with the host not allowing wildcard domains, but they do.

    EDIT: Also just noticed, when trying to go to "statueclothing.com" I get re-directed to the "wp-signup" page, yet when going to "www.statueclothing.com" everything works fine.

    Here is my current WP-Config:

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

    And my current htaccess:

    # BEGIN WordPress
    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]
    # END WordPress
  2. If you built your site with http://www.domain.com, KEEP THE WWW IN.

    There are parts of your database where it stores that information, so it's not as easy to change as it is on single site.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.