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?
.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// )
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?
== 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
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?
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.