WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WP-networks not working: secondary network subpages direct to top main network (14 posts)

  1. stephaniefraser
    Member
    Posted 3 years ago #

    Ok... first thank you for your time and wisdom. I surely need it.

    I have been working on a site about writing memoirs which originally was called: Autobituary.Net. and then we discussed the hierarchy of the project and decided that: MemoirSite.com was a more logical top to the pyramid.

    So.... I got bluehost to switch the Main URL on the account from Autobituary.Net to MemoirSite.Com. Autobituary.net is now Parked there. (Although I have not reset anything on that URL's registrars settings).

    Ok... now I can make it work on both the first database and the newly created second database.

    What doesn't work at all is when you go to the blog listing and click on AB it works, but then on the ABOUT page it goes back to the main MemoirSite page.

    What would happen if I deleted the Network and reassigned it? Does it limit the use of the name?

    And... could this be something related to the fact that the URL's were switched on the account?

  2. stephaniefraser
    Member
    Posted 3 years ago #

    I made a new network for one of the parts called, Recollection Check.

    It shows up.
    I can get to the admin.
    I can even edit the pages.

    But all the links resolve to the main site.

    Hmmm....

  3. stephaniefraser
    Member
    Posted 3 years ago #

    However.... the links on the sub sites for the network's do work

    http://recollectioncheck.com/about DOES NOT WORK

    However,

    http://recollectioncheck.com/testsiteone/about DOES WORK.

    Hmmmm....

    Some line of code is missing right?

  4. Visit the main blog and resave the permalinks.

  5. stephaniefraser
    Member
    Posted 3 years ago #

    Let me try this.... be right back with a report

  6. stephaniefraser
    Member
    Posted 3 years ago #

    Didn't work.

    I also went to the dashboard for the Recollection Check.Com (#3 in the network)
    and it still didn't work.

  7. Unlikely to be the cause but ... what's in your .htaccess?

  8. stephaniefraser
    Member
    Posted 3 years ago #

    #BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    #END WordPress

  9. stephaniefraser
    Member
    Posted 3 years ago #

    Why would it not work on one level and then work on the next level down?

  10. stephaniefraser
    Member
    Posted 3 years ago #

    The even stranger part is that when I make a “sub blog” off of a network the links work just fine.

    EXAMPLE:

    WORKS:
    memoirsite.com
    memoirsite.com/groups
    recollectioncheck.com
    recollectioncheck.com/testsiteone
    recollectioncheck.com/testsiteone/about

    DOESN”T WORK
    recollectioncheck.com/about
    autobituary.net/about

  11. Server setup. Time to file a support ticket with your host.

  12. stephaniefraser
    Member
    Posted 3 years ago #

    ok...

    something in the way that the URLs are parked, maybe?

  13. stephaniefraser
    Member
    Posted 3 years ago #

    This is odd too:

    I can see the buddypress admin bar on this page:

    http://autobituary.net/yourobit/ -- with working links

    and not on this page

    http://autobituary.net/ -- links not working

  14. stephaniefraser
    Member
    Posted 3 years ago #

    SOLVED:

    OK... it's working now.

    I made sure that I had the htaccess file from the networks admin page.

    AND

    removed :
    define( 'DOMAIN_CURRENT_SITE', 'memoirsite.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    from the wp-config.php file.

    My thanks to the webcoding angel who helped me! Much respect and admiration to all of you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags