• 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 WordPress

    I 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.

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

    (@ipstenu)

    ?????? Advisor and Activist

    I 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

    Can’t. /blog/ belongs to the REAL site1 (site0?) – the very first site.

    You installed WP in mysite.com, which means your main site, the one at mysite.com, puts ITS posts in mysite.com/blog/post1

    Site two (which I think you’re calling site 1) lives at mysite.com/site2/ and uses mysite.com/site2/post1 and so on.

    Thread Starter strategizeme

    (@strategizeme)

    Mika, thanks a lot for clarifying this to me.
    Alternatively, can I change permalinks structure in the Dashboard (mysite.com/site1) > Settings > Permalinks to

    /blog/%postname%/

    or is that not advisable?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You can add /blog/ to your permalink, but mysite.com/site1 would become mysite.com/site1/blog/postname

    If that’s what you want, then yes ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘/blog slug n sub-sites (multisite sub-directory)’ is closed to new replies.