<?xml version="1.0" encoding="UTF-8"?>

<configuration>

<system.webServer>

<rewrite>

<rules>

<rule name="index" stopProcessing="true">

<match url="^index.html$" />

<action type="Rewrite" url="index.php" />

</rule>

<rule name="sitemap" stopProcessing="true">

<match url="^sitemap.xml$" />

<action type="Rewrite" url="sitemap.php" />

</rule>

<rule name="news" stopProcessing="true">

<match url="^news(/o)*([0-9]*)$" />

<action type="Rewrite" url="article_category.php?page={R:2}" />

</rule>

<rule name="news-cat" stopProcessing="true">

<match url="^news(/*)([a-z0-9-]*)(/*o*)([0-9]*)$" />

<action type="Rewrite" url="article_category.php?unique_id={R:2}&amp;page={R:4}" />

</rule>

<rule name="news-item" stopProcessing="true">

<match url="^news/([0-9]+).html$" />

<action type="Rewrite" url="article.php?id={R:1}&amp;rewrite=1" />

</rule>

<rule name="news-item-cat" stopProcessing="true">

<match url="^news/([a-z0-9-]+)/([0-9]+).html$" />

<action type="Rewrite" url="article.php?id={R:2}&amp;unique_id={R:1}" />

</rule>

<rule name="product" stopProcessing="true">

<match url="^product(/o)*([0-9]*)$" />

<action type="Rewrite" url="product_category.php?page={R:2}" />

</rule>

<rule name="product-cat" stopProcessing="true">

<match url="^product(/*)([a-z0-9-]*)(/*o*)([0-9]*)$" />

<action type="Rewrite" url="product_category.php?unique_id={R:2}&amp;page={R:4}" />

</rule>

<rule name="product-item" stopProcessing="true">

<match url="^product/([0-9]+).html$" />

<action type="Rewrite" url="product.php?id={R:1}&amp;rewrite=1" />

</rule>

<rule name="product-item-cat" stopProcessing="true">

<match url="^product/([a-z0-9-]+)/([0-9]+).html$" />

<action type="Rewrite" url="product.php?id={R:2}&amp;unique_id={R:1}" />

</rule>

<rule name="page" stopProcessing="true">

<match url="^([a-z0-9-]+).html$" />

<action type="Rewrite" url="page.php?unique_id={R:1}" />

</rule>

<rule name="guestbook" stopProcessing="true">

<match url="^guestbook(/)*([a-z]*)$" />

<action type="Rewrite" url="guestbook.php?rec={R:2}" />

</rule>

</rules>

</rewrite>

</system.webServer>

</configuration>