Title: Recommended Permalink Setting
Last modified: December 11, 2017

---

# Recommended Permalink Setting

 *  [mchildress](https://wordpress.org/support/users/mchildress/)
 * (@mchildress)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/recommended-permalink/)
 * Typically, when I configure a WordPress multisite, I leave the permalink setting
   defaulted so child sites look something like: testsite/2017/12/11/sample-post/.
   But, in an effort to create prettier links, how do you configure the parent site
   that, upon child site creation, will create permalinks that look something like
   testsite/sample-post/ instead? Is it a change in the .htaccess file?
    -  This topic was modified 8 years, 6 months ago by [mchildress](https://wordpress.org/support/users/mchildress/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [cspiliakos](https://wordpress.org/support/users/cspiliakos/)
 * (@cspiliakos)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/recommended-permalink/#post-9778577)
 * I personally prefer the /sample-post/ structure, but if you’re a pretty big blog,
   or plan to host a lot of things, having a different categorization might help
   too.
 *  Thread Starter [mchildress](https://wordpress.org/support/users/mchildress/)
 * (@mchildress)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/recommended-permalink/#post-9779005)
 * Thanks cspiliakos. I agree, I would prefer the /sample-post/ structure as well
   but the challenge is how to force newly created sites to use that structure without
   having to go in and change them manually. One suggestion I came across was to
   create an MU plugin with the following code:
 *     ```
       <?php
       add_action( 'init', function() {
       global $wp_rewrite;
       $wp_rewrite->set_permalink_structure( '/%postname%/' );
       } );
       ?>
       ```
   
 * Thanks for the response. Much appreciated.
 *  [schadeoplossing](https://wordpress.org/support/users/schadeoplossing/)
 * (@schadeoplossing)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/recommended-permalink/#post-9802958)
 * Well, i would u the /sample-post/ structure too. Especially when you’re thinking
   about search engine optimization. Using the right keywords in your URL will help
   you somewhat.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Recommended Permalink Setting’ is closed to new replies.

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 3 replies
 * 3 participants
 * Last reply from: [schadeoplossing](https://wordpress.org/support/users/schadeoplossing/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/recommended-permalink/#post-9802958)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
