diff --git a/wp-admin/options-permalink.php b/wp-admin/options-permalink.php index 34ec0a52a..222fa1fc7 100644 --- a/wp-admin/options-permalink.php +++ b/wp-admin/options-permalink.php @@ -25,8 +25,12 @@ require_once('./optionhandler.php'); if ($_POST['submit']) { update_option('permalink_structure', $_POST['permalink_structure']); $permalink_structure = $_POST['permalink_structure']; + + update_option('category_base', $_POST['category_base']); + $category_base = $_POST['category_base']; } else { $permalink_structure = get_settings('permalink_structure'); + $category_base = get_settings('category_base'); } @@ -43,13 +47,42 @@ if ($_POST['submit']) {
%year%
--- 2004') ?> %monthnum%
--- 05') ?>%day%
--- 28') ?>%postname%
--- this-is-a-great-post” in the URI') ?> %post_id%
--- 423') ?>%year%
%monthnum%
%day%
%hour%
%minute%
%second%
%postname%
%post_id%
/archives/%year%/%monthnum%/%day%/%postname%/
would give you a permalink like:
@@ -58,10 +91,14 @@ if ($_POST['submit']) {/index.php/archives/%year%/%monthnum%/%day%/%postname%/
If you use this option you can ignore the mod_rewrite rules.
') ?>