Viewing 15 replies - 1 through 15 (of 28 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What ARE your permalinks?

    Are you running any plugins like no-category-base?

    Check your wp-config.php file for a DUPLICATE of a line starting with $base

    Thread Starter russepps

    (@russepps)

    Current permalink setting is as follows:

    Day and name

    However, we have seen the issue on any setting to include a custom setting like: /%postname%/

    No no-category-base plugins installed.

    Only one line with $base in wp-config.php file.

    Turn off all plugins, even network activated ones, revert to twenty ten. now see if it does the same.

    Thread Starter russepps

    (@russepps)

    I have one blog on the same multisite system that has yet to have a theme added it is still using the default. It DOES NOT have the same problem. Therefore I would assume the problem is theme related, however, I am having this problem with themes from different companies.

    Is there a common area where I can look to review the code the themes are modifing or overwriting and causing this problem?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    However, we have seen the issue on any setting to include a custom setting like: /%postname%/

    So it works if you use the default, ugly, permalinks?

    And if it works on a different theme, I would check the theme’s single.php file.

    Thread Starter russepps

    (@russepps)

    We have the problem, regardless of the permalink settings (Default or custom, same issue).

    I have been doing more testing. The problem occurs even on the default theme. It appears to be a little inconsistent. Therefore it may be related to the session or how the use enters the site.

    I will review the single.php file.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The problem occurs even on the default theme.

    Then it’s not the theme.

    It appears to be a little inconsistent. Therefore it may be related to the session or how the use enters the site.

    What plugins are you running? Andrea said to turn ’em ALL off, and she’s right. It’s most likely a plugin at this point. I would put odds on a caching plugin or a funky permalink one.

    Thread Starter russepps

    (@russepps)

    With all of the Plugins turned off, having the same issue. It appears whatever function returns the url is appending the name of the blog to the end of the url, thus giving you the blog name twice.

    Do you know which function returns the url of the blog for the paging function?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I think it’s paginate_links() but …

    In your wp-config.php, what does this section look like:

    /** MultiSite **/
    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'domain.tld' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    Thread Starter russepps

    (@russepps)

    Looks like the following:

    define('WP_DEBUG', false);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'blog.blackhairmedia.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Go to blog.blackhairmedia.com/wp-admin/network/sites.php and click on EDIT for ‘Natural Sunshine’

    On the Info tab, What is ‘Path’ set to?

    On Settings, what are the following:
    * Siteurl
    * Home

    Thread Starter russepps

    (@russepps)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Grrr! Everything’s RIGHT, that makes no sense!

    Thread Starter russepps

    (@russepps)

    The only other thing I have noticed was when you first go to the site, with a fresh browser, you will see the incorrect url.

    If you click on the incorrect url, you get the 404 error. If you then click on “Home” and go back to the main page of the blog, the url is correct.

    I can’t figure out what is different about going straight to the blog, or clicking on the home link for the blog.

    But the way the system calculates the url on first entry, there is definitely something wrong in the system.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You don’t have a physical folder named naturalsunshine out there, do you?

    The URL worked fine for me when I checked it.

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘MultiSite 404 Error on Second Pages’ is closed to new replies.