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
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.
Using the permalink structure value you currently have, , these are the mod_rewrite rules you should have in your
.htaccess
file.
You are not currently using customized permalinks. No special mod_rewrite rules are needed.
\n"; break; } require('./admin-footer.php'); ?>