站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
▼
建站程序
开发
服务器
办公软件
开发教程
▼
服务器教程
软件使用教程
运营教程
热门电子书
▼
CSS教程
WordPress教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
热点词条
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
WordPress:Permalinks Options SubPanel
”
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
Xxf3325
(
讨论
|
贡献
)
2008年8月21日 (四) 14:33的版本
(新页面: ==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 s...)
(差异) ←上一版本 |
最后版本
(
差异
) |
下一版本→
(
差异
)
跳转至:
导航
、
搜索
警告:您正在编辑的是本页面的旧版本。
如果您发布该更改,该版本后的所有更改都会丢失。
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
==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 [[WordPress:Introduction_to_Blogging#Pretty_Permalinks|Pretty Permalinks]] section of [[WordPress:Introduction to Blogging]]. [[WordPress:Image:options-permalinks.png|640px|right|Settings Permalinks SubPanel]] Back to [[WordPress:Administration Panels]]. ==Customize Permalink Structure== A [[WordPress:Using_Permalinks|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 '''<nowiki>http://www.sample.com/?p=123</nowiki>''' :*'''Day and name''' - An example of the day and name based structure is '''<nowiki>http://www.sample.com/2008/03/31/sample-post/</nowiki>''' :*'''Month and name''' - An example of the monthe and name based structure is '''<nowiki>http://www.sample.com/2008/03/sample-post/</nowiki>''' :*'''Numeric''' - An example of the numeric structure is '''<nowiki>http://www.sample.com/archives/123</nowiki>''' :*'''Custom structure''' - In the box specify the custom structure you desire to use. One example is '''<nowiki>/archives/%year%/%monthnum%/%day%/%postname%/</nowiki>'''. Look at the [[WordPress:Using Permalinks]] article for further discussion of [[WordPress:Using_Permalinks#Structure_Tags|Permalink Structure Tags]]. ;Optional :You may enter custom bases for your category and tag URLs here. For example, using '''<nowiki>/topics/</nowiki>''' as your category base would make your category links like '''<nowiki>http://example.org/topics/uncategorized/</nowiki>'''. If you leave these blank the defaults will be used. Again, see the [[WordPress:Using Permalinks]] article for further discussion of [[WordPress:Using_Permalinks#Structure_Tags|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. <!-- commenting out for now ===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 [[WordPress:Glossary#.htaccess|.htaccess]] file is writeable. For information on how to make [[WordPress:Glossary#.htaccess|.htaccess]] writeable, see [[WordPress:Changing File Permissions]]. :*If [[WordPress:Glossary#.htaccess|.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 [[WordPress:Glossary#.htaccess|.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 [[WordPress:Glossary#.htaccess|.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 [[WordPress:Glossary#mod_rewrite|rewrite]] rules associated with the Permalink Structure you designated above. You need to manually copy everything in this text box into your [[WordPress:Glossary#.htaccess|.htaccess]] file to make your new Permalinks work. :'''Note''': If you're writing your [[WordPress:Glossary#.htaccess|.htaccess]] file on your own local computer, remember, some operating systems do not allow the creation of a file named "<code>.htaccess</code>" because of the initial dot ("'''<code>.</code>'''"). You can always name the file without the initial dot or with a standard extension (e.g. "<code>htaccess.txt</code>"). Once the file is uploaded to your weblog's directory, rename it with your [[WordPress:Glossary#FTP|FTP]] software. Most [[WordPress:FTP Clients]] should provide you a way to rename filesthis. :'''Also Note''': Files that begin with a dot ("'''<code>.</code>'''") like "<code>.htaccess</code>" 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 [[WordPress:Changing File Permissions]]. end of comment out --> ===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]].
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)