Return to Snippet

Revision: 30278
at August 11, 2010 05:41 by trepmal


Initial Code
global $wp_rewrite;
$wp_rewrite->set_permalink_structure( '/%year%/%monthnum%/%postname%/' );
$wp_rewrite->flush_rules();

Initial URL
http://trepmal.com/scripts/updating-permalink-structure-from-a-plugin/

Initial Description

                                

Initial Title
update permalinks in WordPress

Initial Tags
wordpress

Initial Language
PHP