Forums

Losing /blog from permalinks (6 posts)

  1. Chris Lowry
    Member
    Posted 7 months ago #

    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

  2. danhgilmore
    Member
    Posted 7 months ago #

    Have you checked .htaccess and/or wp-config.php?

  3. Chris Lowry
    Member
    Posted 7 months ago #

    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: http://img1.uploadscreenshot.com/images/orig/10/28612021061-orig.jpg - but is there a way to make that /blog editable within site admin instead?

  4. Andrea_r
    team pirate
    Posted 7 months ago #

    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.

  5. simonmasdotcom
    Member
    Posted 5 months ago #

    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.

  6. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 5 months ago #

    No.

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

Reply

You must log in to post.

About this Topic