IsapiRewrite4.ini转.htaccess 求帮忙。。
IsapiRewrite4.ini如下:[*][*]RewriteRule ^/getemail/(\d+).image$ /getEmail.php?id=$1
[*]RewriteRule ^/(+).html$ /$1.html
[*]RewriteRule ^/admin.php(.*)?$ /admin.php$1
[*]RewriteRule ^/([^/|?]+)$ /?q=$1
[*]RewriteRule ^/(?:keywords|keywordslist|sitemap)/(?:.*/)?images/(.*)$ /images/$1
[*]RewriteRule ^/keywords/([^/]+)/$ /?k=1&q=$1&p=1
[*]RewriteRule ^/keywords/([^/]+)/(\d+).html$ /?k=1&q=$1&p=$2
[*]RewriteRule ^/sitemap/$ /sitemap.php?page=1
[*]RewriteRule ^/sitemap/sitemap(\d+)?.html$ /sitemap.php?page=$1
[*]RewriteRule ^/keywordslist/$ /keywords.php?page=1
[*]RewriteRule ^/keywordslist/(\d+)?.html$ /keywords.php?page=$1 复制代码转换成.htaccess之后的规则是?
mad.gif
mad.gif
mad.gif
mad.gif
mad.gif
mad.gif
mad.gif
[*]RewriteEngine On
[*]#RewriteBase /your_dir
[*]RewriteRule ^getemail/(\d+)\.image$ getEmail.php?id=$1
[*]RewriteRule ^(+)\.html$ $1.html
[*]RewriteRule ^admin\.php(.*)?$ admin.php$1
[*]RewriteRule ^([^/|?]+)$ ?q=$1
[*]RewriteRule ^(?:keywords|keywordslist|sitemap)/(?:.*/)?images/$ images/$1
[*]RewriteRule ^keywords/([^/]+)/$ ?k=1&q=$1&p=1
[*]RewriteRule ^keywords/([^/]+)/(\d+)\.html$ ?k=1&q=$1&p=$2
[*]RewriteRule ^sitemap/$ sitemap.php?page=1
[*]RewriteRule ^sitemap/sitemap(\d+)?\.html$ sitemap.php?page=$1
[*]RewriteRule ^keywordslist/$ keywords.php?page=1
[*]RewriteRule ^keywordslist/(\d+)?\.html$ keywords.php?page=$1复制代码 用helicon的工具去测试看,一条一条测试。
页:
[1]