Permalinks Options SubPanel
From 워드프레스(WORDPRESS) 한국어 위키
Contents |
Options → Permalinks
By default, WordPress uses web URIs which have question marks and lots of numbers in them. However, WordPress offers you the ability to create a custom URI structures for your Permalinks and archives. This can improve the aesthetics, usability, and longevity of your links. This SubPanel controls how that custom URI structure is defined.
For a more in depth description of the way this structure is specified, see the Using Permalinks article. For an introduction to Permalinks, read the Pretty Permalinks section of Introduction to Blogging.
Back to Administration Panels.
Permalink Options
Customize Permalink Structure
A number of tags are available, and here are some examples to get you started.
Common Options
Four radio button options are displayed for making it simple to choose the correct Permalink Structure for your blog:
- Default
- An example of the default structure is http://www.sample.com/?p=123
- Date and name based
- An example of the date and name based structure is http://www.sample.com/2007/01/23/sample-post
- Numeric
- An example of the numeric structure is http://www.sample.com/archives/123
- Custom, specify below
- In the Custom structure: box specify the custom structure you desire to use. One example is /archives/%year%/%monthnum%/%day%/%postname%/. Look at the Using Permalinks article for further discussion of Permalink Structure Tags.
Optional
- Category base
- If you like, you may enter a custom prefix for your category URLs here. For example, /taxonomy/tags would make your category links like http://example.org/taxonomy/tags/uncategorized/. If you leave this blank the default will be used.
Again, see the Using Permalinks article for further discussion of Permalink Structure Tags.
Update Permalink Structure
- Update Permalink Struture
- Click this button to save your changes. If you don't click this button, your changes will not be saved. After you've clicked this button, you should receive one of two messages depending on whether your .htaccess file is writeable. For information on how to make .htaccess writeable, see Changing File Permissions.
- If .htaccess is writeable, you will get a message that says "Permalink structure updated." You're all set; WordPress has been able to do everything for you automatically.
- If .htaccess is not writeable, you will see a message that says "You should update your .htaccess now.". Near the bottom of the screen you will see "If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all." This means you'll have to do one extra step yourself. In the text box at the bottom of the SubPanel, WordPress displays several lines of rewrite rules associated with the Permalink Structure you designated above. You need to manually copy everything in this text box into your .htaccess file to make your new Permalinks work.
- Note: If you're writing your .htaccess file on your own local computer, remember, some operating systems do not allow the creation of a file named "
.htaccess" because of the initial dot ("."). You can always name the file without the initial dot or with a standard extension (e.g. "htaccess.txt"). Once the file is uploaded to your weblog's directory, rename it with your FTP software. Most FTP Clients should provide you a way to rename filesthis.
- Also Note: Files that begin with a dot ("
.") like ".htaccess" are hidden on most servers by default. Consult the userguide or FAQ of the FTP software you use to find out how to have the software display these hidden files, and also how to use the software to change file permissions, rename files, etc. For more information on all of this see Changing File Permissions.
Back to Administration Panels.

