WordPress:Settings Permalinks SubPanel
来自站长百科
Settings → Permalinks
By default WordPress uses web URLs which have question marks and lots of numbers in them, however WordPress offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links.
For a more in depth description of the way this structure is specified, see the WordPress:Using Permalinks article. For an introduction to Permalinks, read the Pretty Permalinks section of WordPress:Introduction to Blogging.
640px|right|Settings Permalinks SubPanel
Back to WordPress:Administration Panels.
Customize Permalink Structure
A number of tags are available, and here are some examples to get you started.
- Common settings
- Check one of the radio buttons corresponding to the correct Permalink Structure for your blog.
- Default - An example of the default structure is http://www.sample.com/?p=123
- Day and name - An example of the day and name based structure is http://www.sample.com/2008/03/31/sample-post/
- Month and name - An example of the monthe and name based structure is http://www.sample.com/2008/03/sample-post/
- Numeric - An example of the numeric structure is http://www.sample.com/archives/123
- Custom structure - In the box specify the custom structure you desire to use. One example is /archives/%year%/%monthnum%/%day%/%postname%/. Look at the WordPress:Using Permalinks article for further discussion of Permalink Structure Tags.
- Optional
- You may enter custom bases for your category and tag URLs here. For example, using /topics/ as your category base would make your category links like http://example.org/topics/uncategorized/. If you leave these blank the defaults will be used. Again, see the WordPress:Using Permalinks article for further discussion of Permalink Structure Tags.
- Category base - Enter a custom prefix for your category URLs here.
- Tag base - Enter a custom prefix for your tag URLs here.
Save Changes
- Click the Save Changes button to ensure any changes you have made to your Settings are saved to your database. Once you click the button, a confirmation text box will appear at the top of the page telling you your settings have been saved.
Back to WordPress:Administration Panels.