• Hi,

    I’m running a multisite wordpress install. Only one site so far, located at root.

    However, for some reason I’m getting /blog added on to all permalinks. How do I turn this off. If I manually change the permalink string under Sites->Settings in the network admin, it gets rid of the /blog/ but this returns if I change any of the permalink settings in the site admin.

    Any ideas?
    Chris

Viewing 5 replies - 1 through 5 (of 5 total)
  • Have you checked .htaccess and/or wp-config.php?

    Thread Starter Chris Lowry

    (@bigonroad)

    wp-config.php has

    define( 'DOMAIN_CURRENT_SITE', 'exploringfoodandwine.com' );
    define( 'PATH_CURRENT_SITE', '/' );

    .htaccess has

    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]

    I assume its a WP setting somewhere, because when I reset permalinks, the setting returns.

    You can see where I can alter the setting here: https://img1.uploadscreenshot.com/images/orig/10/28612021061-orig.jpg – but is there a way to make that /blog editable within site admin instead?

    is there a way to make that /blog editable within site admin instead?

    No.

    If you edit it out, the only way to do so will still force it back if you ever resave permalinks again.

    I have the same problem. Is there any way to get rid of “blog/”, or even to change it in something else? “news/” would be perfectly fine, for example.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    No.

    If you use subFOLDER Multisite, currently you’re stuck with it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Losing /blog from permalinks’ is closed to new replies.