The MU forums have moved to WordPress.org

Redirect loop (4 posts)

  1. Blandanomics
    Member
    Posted 16 years ago #

    Hi,

    I use media temple, and I have set up MU on what they call the access domain (s30295.gridserver.com), where if you go my blog is still accessable. However I recently registered the domain temple-news.com and adjusted the nameservers to point to my domain.

    However when i go to temple-news.com I am just taken to the signup page. I edited the wpmu-setting file to change:

    if( defined( "WP_INSTALLING" ) == false ) {
    if( $current_site && $current_blog == null ) {
    header( "Location: http://{$current_site->domain}{$current_site->path}wp-signup.php?new=" . urlencode( $blogname ) );
    die();

    TO

    if( defined( "WP_INSTALLING" ) == false ) {
    if( $current_site && $current_blog == null ) {
    header( "Location: http://www.temple-news.com" . urlencode( $blogname ) );
    die();
    }

    But the browser tacks and extra temple-news.com so the url ends up looking like: http://www.temple-news.comtemple-news/

    I also tried changing the site URL in the blog settings but that created what firefox called a redirection that will never end. I even tried removing my htaccess file, no dice.

    Is there any way I can get temple-news.com to essentially point to s30295.gridserver.com?

  2. Trent
    Member
    Posted 16 years ago #

    If you are trying to get it to work with your main domain you have already, you can use the Multi-Site Manager plugin to add it as a domain to your installation. With Media Temple, I just added extra domains as "addon" domains so that it was pointing to the same folder for your WPMU install.

    In terms of making it the main domain, I am not 100% sure myself.

    Trent

  3. Blandanomics
    Member
    Posted 16 years ago #

    I did addon the domain in MT yet there is something in WPMU that is rerouting it to be Domain/temple-news which then makes MU attempt to create another blog

  4. Blandanomics
    Member
    Posted 16 years ago #

    Solved, One of the MT guys found a database field that had to be updated.

About this Topic

  • Started 16 years ago by Blandanomics
  • Latest reply from Blandanomics