WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to remove /blog? (9 posts)

  1. MAzZY
    Member
    Posted 3 years ago #

    Hi there
    How can I remove blog prefix '/blog' using WPMU SubFolders?
    _www.site.com/blog/cat/text.htm => _www.site.com/cat/text.htm

  2. sammermpc
    Member
    Posted 3 years ago #

    I'm asking essentially the same question -- though in your case, just install WP in a folder called "cat" -- if I understand your URL scheme correctly.

    Then all of your blogs will be subfolders of cat, and in your site-root. For example:
    site-root.com/cat/blog1
    site-root.com/blog2

  3. MAzZY
    Member
    Posted 3 years ago #

    It's not good idea. WP installed in domain's root

  4. sammermpc that's not the situation at all.

    MAzZy.

    When you install WordPress multisite, by default your FIRST site has the extra folder /blog/ put on permalinks. This is normal behavior. You can change it, but you will run some risks. Basically, WordPress takes an extra step to make sure that pages named ‘foobar’ don’t break when you have a new blog with the same name (i.e. domain.com/foobar ). If you change that foldername, you will no longer have that ability. So... be careful

    Login to your admin site.
    Go to: Super Admin > Sites > Edit
    Scroll down to “Permalink Structure” and remove the “/blog” part
    Save

  5. sammermpc
    Member
    Posted 3 years ago #

    Oh...I see. The blog is not part of the directory structure. I thought that was an install called blog. What do I know...

  6. MAzZY
    Member
    Posted 3 years ago #

    Thanks

  7. YNT
    Member
    Posted 3 years ago #

    Want to add that I have to run ′Update Network′ to completely apply url structure's change

  8. No reason to, it only affects the main blog.

  9. MAzZY
    Member
    Posted 3 years ago #

    Ipstenu, after copy site to new hosting permalinks again have "blog" and changing it has no effect.
    WP 3.1.1

Topic Closed

This topic has been closed to new replies.

About this Topic