The MU forums have moved to WordPress.org

How can I change the permalink structure? (9 posts)

  1. voodoolove1
    Member
    Posted 18 years ago #

    How do I change the permalink structure globally for all blogs created? In WP you can do that in the options page but where in MU? I'd like this type of structure:
    /%category%/%postname%/

    Thanks

  2. voodoolove1
    Member
    Posted 18 years ago #

    bump>>

  3. ergate
    Member
    Posted 18 years ago #

    I dont know that you can. But if you can my guess would be that you would do it with a combination of htaccess and the options panel.

  4. voodoolove1
    Member
    Posted 18 years ago #

    In WP I know it rewrites htaccess. I thought about just copying that from a regular WP installation and putting it into my WPMU htaccess. I'm pretty sure that would just screw things up though. I was hoping that there'd be an easier way.

    I hope this is someting that they bring from WP and put into WPMU.

  5. UBlog
    Member
    Posted 18 years ago #

    bump>>

    i hope someone can help..

  6. chrisk
    Member
    Posted 18 years ago #

    If you go to Site Admin, edit a blog you'll find permalink structure in the list.

    However, I just changed mine and broke the site :(

  7. chrisk
    Member
    Posted 18 years ago #

    Anyone have any idea why a permalink structure of :

    /%year%/%monthnum%/%day%/%postname%/

    works (this is the default)

    but

    /%category%/%postname%/

    doesn't?

    Just gives me a 404 each time.

  8. nodblogcom
    Member
    Posted 16 years ago #

    I don't know why /%category%/ doesn't work, http://codex.wordpress.org/Using_Permalinks sais it has problems with some versions of apache.

    The default permalink structure is set up when running the wordpress mu install.

    index-istall.php:
    //line 399
    update_blog_option( 1, 'permalink_structure', '/blog/%year%/%monthnum%/%day%/%postname%/');

    Does anyone know how can I change this after the WPMU install?

  9. Parado
    Member
    Posted 16 years ago #

    No. All permalink structure and mutch more for new blogs in upgrade-schema.php

    add_option('permalink_structure', '/%year%/%monthnum%/%day%/%postname%/');

About this Topic

  • Started 18 years ago by voodoolove1
  • Latest reply from Parado