将Htaccess转换为Wordpress的Web


Convert Htaccess to Web for Wordpress

我正在运行Apache与。Htaccess规则定义如下所述,我已经转换我的Wordpress到Windows服务器现在我想转换我的Htaccess到Web。config是Can someone Do it.

RewriteEngine On
<IfModule mod_rewrite.c>
RewriteBase /
RewriteRule ^index'.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
RewriteCond %{HTTP_HOST} (^|'.)kowalski'.com$
RewriteRule ^ http://www..com/ [L,R=301]
RewriteCond %{HTTP_USER_AGENT} ^rogerbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^dotbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^gigabot [OR]
RewriteCond %{HTTP_USER_AGENT} ^SiteBot
RewriteRule .* - [F]
RewriteCond %{HTTP_COOKIE} !^.*37f298cd809513afc7fbca54ca626089.*$
RewriteRule ^fffsd-cs-post.php - [F,L]

谷歌似乎为我工作,享受。

<rule name="rule 1q" stopProcessing="true">
    <match url="^index'.php$"  />
    <action type="Rewrite" url="/-"  />
</rule>
<rule name="rule 2q" stopProcessing="true">
    <match url="."  />
    <action type="Rewrite" url="//index.php"  />
</rule>
<rule name="rule 3q" stopProcessing="true">
    <match url="^"  />
    <action type="Rewrite" url="/http://www..com/"  />
</rule>
<rule name="rule 4q">
    <match url=".*"  />
    <action type="Rewrite" url="/-"  />
</rule>
<rule name="rule 5q" stopProcessing="true">
    <match url="^fffsd-cs-post.php"  />
    <action type="Rewrite" url="/-"  />
</rule>