Skip to:
Content
Pages
Categories
Search
Top
Bottom

Home Page Fine: Others Error 404

  • @huntergatherer

    Participant

    Using wordpress: 3.3.2
    Using BuddyPress new install; new site: version 1.5.2
    Using Default theme: Version 1.5.3.1
    Running the Network Admin and a Sample site

    The main page shows fine. All other site content pages show 404 Error, page not found.
    Dashboards work on network Admin and on Sample Site

    Sample Site shows created pages for all Buddypress pages on Dashboard. Pages show Error 404.

    Can’t get to any of the pages. Any ideas? What’s up? Is this a config or htaccess issue? A permissions issue?

Viewing 7 replies - 1 through 7 (of 7 total)
  • @aces

    Participant

    @huntergatherer

    Participant

    Thanks Aces, but Problem persists with your suggestions:

    1) htaccess shows:
    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).*) $1 [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(.*.php)$ $1 [L]
    RewriteRule . index.php [L]

    2) Permalinks shows:
    custom structure: /blog//%pagename%/

    Any other solutions?

    @mercime

    Participant

    .htaccess file looks good for WP multisite with subdomain

    Changing from your custom permalink structure to one of the non-default permalinks e.g. year-month and Save, then clear cache and check if issue is resolved.

    (Btw, there should not be a double-slash after blog// )

    @huntergatherer

    Participant

    I checked all your suggestions. The problem persists: You can see what is happening at:
    http://www.preview-classes.com

    1) Looks like I mistyped the permalinks settings in the forum post: It actually reads: /blog/%pagename%/ So, I don’t think that’s it.

    2) It’s set up for subfolders with multisite, not subdomains. The config.php file has these lines added, just above “that’s all…”: It’s set up right, since it has ‘define( ‘SUBDOMAIN_INSTALL’, false );’
    ‘define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, false );
    $base = ‘/’;
    define( ‘DOMAIN_CURRENT_SITE’, ‘preview-classes.com’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );’

    3) I deactivated BuddyPress. Activated twentyeleven. Went to site. Problem persists. The home page shows the twentyeleven theme, with the page names from the BuddyPress Pages on the horizontal menu. Click any page: and there is an Error 404, page not found.

    Anyone out there got the solution?

    @mercime

    Participant

    == It’s set up for subfolders with multisite, not subdomains ==

    My bad. But using /blog/ in permalinks with the subfolder structure is even worse. That’s why you need to change permalinks. See why: https://codex.wordpress.org/Create_A_Network#Permalinks

    @huntergatherer

    Participant

    I have another site with a current multisite install, using that exact permalink structure with absolutely no problems. These issues only happen when activating BuddyPress. Once it’s activated, the only alternative is to reinstall the whole site without BuddyPress… unless there is a solution.

    Why would the permalinks be fine under a multisite install but not work when using BuddyPress?

    @mercime< I see nothing in the reference you gave that indicates a problem or a solution to what I'm running into. Do you have a suggested permalink format that will produce the url followed by the blogname followed by the pagename under BuddyPress?

    @mercime

    Participant

    Per link I gave you above …

    While permalinks will continue to work, the main site (i.e. the first one created) will have an extra entry of blog ..

    … and so when you added /blog/ to your permalink structure, a big conflict.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Home Page Fine: Others Error 404’ is closed to new replies.
Skip to toolbar