I'm setting up a Wordpress Network and wanted all new sites to have the same permalink structure (i.e. "/%year%/%monthnum%/%postname%/"). I'm wondering if this is possible to do via hooks or hacks in functions.php, without having to rely on users to choose that structure.
You can set the permalink structure by calling on the
Here's a PHP < 5.3 version of the code in case you're getting errors.
|show 2 more comments|