Support » Alpha/Beta/RC » Root Directory /blog/ for WordPress 3.0 main Multisite

  • stylecollision

    (@stylecollision)


    Hi there,

    i’m playing around with 3.0-beta and installed a main Site and two further ones. The furthers ones are mydomain.com/site1 and mydomain.com/site2 – the main Site ist mydomain.com.

    The problem now is, that all posts (even custom post types) on the main Site have the address mydomain/blog/2010/05/12/post/ or similar. So eacht time we have the leading /blog/ for post-urls.

    I took a look in the WordPress Settings and found, that i couldn’t change the permalinks, because the part “/blog” can’t be edited.

    Is there any chance to change this? Thanks for an answer.

    Yours

Viewing 6 replies - 16 through 21 (of 21 total)
  • ho hum .. the wheel it turns slowly but surely

    Wished I’d known about this before my install snafu. Although Andrea recommends you not remove the /blog/ slug, so maybe I went the right way. I will be following this discussion.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Plugin Review Team Rep

    I’d just redirect my old posts to my new location:
    RewriteRule ^/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$ http://domain.com/blog/$1/$2/$3/$4 [L,R=301]

    Actually, I went to this:
    RewriteRule ^/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$ http://domain.com/blog/$4 [L,R=301]

    So my URLs are now domain.com/blog/postname — Shorter = better 🙂

    Great discussion. I’ve recently removed /blog from my multisite. And so far so good. Just keeping my eyes open for any conflicts. @_@

    Jason Paul

    (@jasontrasaterracom)

    I’ve done the same…removed ‘blog’ from the site admin. I also needed to go into the Config and remove:

    define( 'BLOG_ID_CURRENT_SITE', 1 );

    Now the main blog shows up as the root directory blog which is much more desirable than before.

    Aside from the concerns about category names about If anyone thinks this will cause long-term problems to the site I’m working on please advise!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Plugin Review Team Rep

    Just FYI: If you re-save permalinks on blog #1, /blog/ will come back.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Root Directory /blog/ for WordPress 3.0 main Multisite’ is closed to new replies.