/blog slug n sub-sites (multisite sub-directory)
-
Hello and apologies for posting this twice, if this ends up t be the case. I have a multisite sub-dir installation (latest version)
I have set up pretty permalinks in site dashboard and set up .htaccess to reflect this (copy of .htaccess attached below)# BEGIN WordPress
<IfModule mod_rewrite.c>
Options +FollowSymLinks
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]
</IfModule>
# END WordPressI have noticed that sub-sites posts (eg: mysite.com/site1) show up like this: mysite.com/site1/post1
I would like the post to show up as: mysite.com/blog/post1
Should I just change the permalinks structure so that the permalink structure looks like:
/blog/%network%/
If so, where do you suggest me to change the permalinks structure:
1. site dashboard and/or
2. Super Admin Network > Sites > Settings > Permalinks structure
Thank you for your support and reply.
- The topic ‘/blog slug n sub-sites (multisite sub-directory)’ is closed to new replies.