发新话题
打印

付费求windows2003下httpd.ini

付费求windows2003下httpd.ini

网络环境,windows2003 IIS,wordpress全新安装,具有网络完全权限,只是不懂httpd.ini如何写,具体要求是写成
http://域名/类别/文章名称 或
http://域名/类别/文章名称.html
当然其他页面的连接也要有效的

付费:呵呵,个人,小意思,30员左右:loveliness:
联系我:2008com#gmail.com

[ 本帖最后由 cool 于 2008-1-20 02:27 AM 编辑 ]

TOP

后台管理 -> 选项 -> 永久链接
选" 自定义,请在下面指定"然后填入
/%category%/%postname%/

试试看吧
欢迎访问 86's world

TOP

呵呵兄台,这是windows2003 IIS环境呀
引用:
原帖由 syx86 于 2008-1-20 07:12 AM 发表
后台管理 -> 选项 -> 永久链接
选" 自定义,请在下面指定"然后填入
/%category%/%postname%/

试试看吧

TOP

wordpress 安装 ISAPI_Rewrite httpd.ini

下面是我找到的一个,我自己也没用过,是百度搜索的,有问题多尝试下搜索。试试看吧!
复制内容到剪贴板
代码:
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
# # WordPress rewrite rules# /post/%post_id%.html
RewriteRule /tag/(.*) /index.php?tag=$1
RewriteRule /post/tag/(.*) /index.php?tag=$1
RewriteRule /(about-copyright|favor|archives|tags) /index.php?
pagename=$1
RewriteRule /post/category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?
category_name=$1&feed=$2
RewriteRule /post/category/?(.*) /index.php?category_name=$1
RewriteRule /author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?
author_name=$1&feed=$2
RewriteRule /author/?(.*) /index.php?author_name=$1
RewriteRule /rss.xml /wp-feed.php/?feed=rss2
RewriteRule /feed/?$ /wp-feed.php/?feed=rss2
RewriteRule /comments/feed/?$ /wp-feed.php/?feed=comments-rss2
RewriteRule /([0-9]+)/?([0-9]+)?/?$ /index.php?p=$1&page=$2
RewriteRule /post/([0-9]+).html /index.php?p=$1
RewriteRule /page/(.*) /index\.php\?paged=$1
RewriteRule /post/date/([0-9]{4})([0-9]{1,2})([0-9]{1,2})/([^/]+)/?([0-9]+)?/?$
/index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5
RewriteRule /post/date/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ /index.php?
year=$1&monthnum=$2&day=$3&page=$4
RewriteRule /post/date/([0-9]{4})/([0-9]{1,2})/?$ /index.php?
year=$1&monthnum=$2&page=$3
RewriteRule /post/([0-9]+).html/(feed|rdf|rss|rss2|atom)/ /index.php?
feed=rss2&p=$1
RewriteRule /post/([0-9]+).html/trackback/ /wp-trackback.php?p=$1
RewriteRule /photo/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?$ /wp-
content/plugins/fgallery/fim_photos.php?$1=$2&$3=$4 [QSA,L,I]
RewriteRule /photo/?(.*) /wp-content/plugins/fgallery/fim_photos.php?
$1=$2&$3=$4 [QSA,L,I]
原文章地址  http://hi.baidu.com/chenrentian/blog/item/3dae0dd8fcb1173632fa1c53.html

TOP

我推荐你使用wamp套件,apache才支持你说的功能...

TOP

引用:
原帖由 涵雨之泪 于 2008-1-20 12:02 PM 发表
下面是我找到的一个,我自己也没用过,是百度搜索的,有问题多尝试下搜索。试试看吧!
不同的链接httpd.ini区别很大,上面这个是基于 /post/%post_id%.html,早就看过,实际这个改写与WP默认链接基本没有区别,对SEO可以说是一点积极作用没有,与我的所求相去甚远

TOP

iis是没有httpd.ini这个东西的

TOP

发新话题