Be Studios

Intercontinental Design Firm

This is our knowledge center. Enjoy!

Set permalink from functions.php

To set your favorite permalink structure from the beggining, add this on functions.php:

function set_permalink(){
    global $wp_rewrite;
    $wp_rewrite->set_permalink_structure('/%year%/%monthnum%/%postname%/');
}
add_action('init', 'set_permalink');

Other value for example:

/%postname%/