/ Published in: XML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<rewriter> <!-- EXCEPT FOR PREDEFINED DIRECTORIES --> <rewrite url="~/(.+)/((js|img|css|op|mtn)/(.+))" to="~/$2" processing="stop"></rewrite> <!-- EXCEPT FOR COMMONLY IMPORTED FILES --> <rewrite url="^(/.+(\.gif|\.png|\.jpg|\.ico|\.pdf|\.css|\.swf|\.zip|\.js)(\?.+)?)$" to="$1" processing="stop" /> <!-- ALL URL WILL BE REWRITTEN --> <rewrite url="~/(.+)/(.+).aspx(\?(.+))?$" to="~/$2.aspx?site=$1&$4" processing="stop"></rewrite> </rewriter>