Changeset 753 for trunk/wp-admin/options-permalink.php
- Timestamp:
- 01/12/2004 12:55:14 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/options-permalink.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-permalink.php
r749 r753 76 76 <p>WordPress offers you the ability to create a custom URI structure for your permalinks and archives. The following “tags” are available:</p> 77 77 <ul> 78 <li><code>%year%</code> --- The year of the post, 4 digits, for example 2003</li>79 <li><code>%monthnum%</code> --- Two digit month, for example 05</li>80 <li><code>%day% </code>--- Day of the month, for example 28</li>81 <li><code>%postname%</code> --- A sanitized version of the title of the post. So "This Is A Great Post!" becomes " this-is-a-great-post"</li>82 <li><code>%post_id%</code> --- The unique ID # of the post .<strong></strong></li>78 <li><code>%year%</code> --- The year of the post, 4 digits, for example <code>2004</code> </li> 79 <li><code>%monthnum%</code> --- Month of the year, for example <code>5</code></li> 80 <li><code>%day% </code>--- Day of the month, for example <code>28</code></li> 81 <li><code>%postname%</code> --- A sanitized version of the title of the post. So "This Is A Great Post!" becomes "<code>this-is-a-great-post</code>" in the URI </li> 82 <li><code>%post_id%</code> --- The unique ID # of the post, for example <code>423</code> <strong></strong></li> 83 83 </ul> 84 84 <p>So for example a value like <code>/archives/%year%/%monthnum%/%day%/%postname%/</code> could give you a permalink like <code>/archives/2003/05/23/my-cheese-sandwich/</code> . For this to work you'll need mod_rewrite installed on your server for the rule generation rule to work below. In the future there may be other options. </p>
Note: See TracChangeset
for help on using the changeset viewer.