diff --git a/wp-admin/options-permalink.php b/wp-admin/options-permalink.php index 42b90dc22c..5c020a2e9e 100644 --- a/wp-admin/options-permalink.php +++ b/wp-admin/options-permalink.php @@ -1,5 +1,7 @@
WordPress offers you the ability to create a custom URI structure for your permalinks and archives. The following “tags” are available:
+ + WordPress offers you the ability to create a custom URI structure for your permalinks and archives. The following “tags” are available:')?>%year%
--- The year of the post, 4 digits, for example 2004
%monthnum%
--- Month of the year, for example 05
%day%
--- Day of the month, for example 28
%postname%
--- A sanitized version of the title of the post. So “This Is A Great Post!” becomes “this-is-a-great-post
” in the URI %post_id%
--- The unique ID # of the post, for example 423
%year%
--- 2004') ?> %monthnum%
--- 05') ?>%day%
--- 28') ?>%postname%
--- this-is-a-great-post” in the URI') ?> %post_id%
--- 423 ') ?>So for example a value like:
+ So for example a value like:/archives/%year%/%monthnum%/%day%/%postname%/
would give you a permalink like:
/archives/2003/05/23/my-cheese-sandwich/
In general for this you must use mod_rewrite, however if you put a filename at the beginning WordPress will attempt to use that to pass the arguments, for example:
/index.php/archives/%year%/%monthnum%/%day%/%postname%/
If you use this option you can ignore the mod_rewrite rules.
+If you use this option you can ignore the mod_rewrite rules.
') ?> -Using the permalink structure value you currently have, , these are the mod_rewrite rules you should have in your
.htaccess
file.
%s
, these are the mod_rewrite rules you should have in your .htaccess
file.'), $permalink_structure) ?>
$query) {
?>
- If your .htaccess
file is writable by WordPress, you can edit it through your template interface.
.htaccess
file is writable by WordPress, you can edit it through your template interface.'), 'templates.php?file=.htaccess') ?>
-You are not currently using customized permalinks. No special mod_rewrite -rules are needed. +
\ No newline at end of file +?>