The MU forums have moved to

Automatically activate permalinks on all blogs (5 posts)

  1. Anonymous
    Posted 15 years ago #

    When a new user comes to my site, creates a blog, I want permalinks to be automatically activated. I have already installed my MU, and am not interested in reinstalling. Any suggestions?

  2. dsader
    Posted 15 years ago #

    Check your permalink setting in wp-admin/includes/schema.php. You could edit the setting there or add an mu-plugin such as

    add_action('wpmu_new_blog', 'ds_new_blog_settings');
    function ds_new_blog_settings($blog_id) {
    	update_blog_option( $blog_id, 'permalink_structure', '/%year%/%monthnum%/%day%/%postname%/');
  3. Houston Web Designer
    Posted 15 years ago #

    Where would that code be added on that page?

  4. dsader
    Posted 15 years ago #

    Search the schema.php page for "permalink" and edit it.


    Add an mu-plugin to do the same.

  5. sniperfora
    Posted 15 years ago #

    I want to change the options-permalink.php for post to
    on all mu wordpress blogs
    I have already install it
    and I want after that any new blog use
    as defualt
    can any one please tell me how do I did that

About this Topic

  • Started 15 years ago by padams02
  • Latest reply from sniperfora