been asking a lot of questions on the forum lately so i decided to contribute something back to the community... i noticed a lot of people asking for seo rewrite rules, so here they are: JUST past this in your root web.config file under <system.webServer> section: <rewrite> <rules> <rule name="lower"> <match url="[A-Z]" ignoreCase="false" /> <action type="Redirect" url="{ToLower:{URL}}" redirectType="Permanent" /> </rule> <rule name="www"> <match url="(.*)" ignoreCase="false" /> <conditions> <add input="{HTTP_HOST}" pattern="^www\.direktna-distribucija\.com$" negate="true" ignoreCase="false" /> </conditions> <action type="Redirect" url="http://www.direktna-distribucija.com/{R:1}" redirectType="Permanent" /> </rule> <rule name="default"> <match url="(.*)default.aspx" ignoreCase="false" /> <action type="Redirect" url="{R:1}" redirectType="Permanent" /> </rule> <rule name="slash"> <match url="[^/]$" ignoreCase="false" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{URL}" pattern="\.axd$" negate="true" ignoreCase="false" /> </conditions> <action type="Redirect" url="{URL}/" redirectType="Permanent" appendQueryString="false" /> </rule> </rules> </rewrite> its a no brainer, the first makes the url always lowercase, the second always adds www. (type your site instead of mine there, and if you prefere WITHOUT the www. then just delete both instances of it - its THAT simple), the third redirects all default.aspx pages to their folder, and the fourth always adds trailing slash to folders then add this to your master pages (or any page with forms) .cs file: protected void Page_Load(Object sender, EventArgs e) { form1.Action=Request.RawUrl.Replace("default.aspx" , ""); you must have framework v3.5 SP1 installed for form action property (DASP has it, but you may not at home/work), it prevents the old url appearing in address bar when you do postbacks to the same page (no matter what rewrite rule), and the replace part is there so that default.aspx pages dont postback onto themselves with default documents rewrite rule and thats it, works like magic... if your site uses ssl than make sure that any page using it doesnt get rewriten BUT 301 redirected instead when accesed with http://, thrust me its a goo(gle)d thing <rule name="https"> <match url="(^login\.aspx$|^cart/.*|^admin/.*)$" ignoreCase="false" /> <conditions> <add input="{HTTPS}" pattern="^OFF$" /> </conditions> <action type="Redirect" url="https://www.direktna-distribucija.com/{R:1}" redirectType="Permanent" /> </rule> just add the above rule below the first one, and type your secure pages or hole folders instead of mine... if your wondering "^" means it must start with, "\" is the escape for special characters ("." is one of them, so dont forget to always escape it or youll going to be called "special" ;-), "$" means must end with, "|" is a simple OR, un-eascaped "." means any char, and the un-eascaped "*" is... well take a wild guess, ahahahaha get it? "wild"... anyone? WILD... oh never mind (actaly it means that the char before it can occure any number of times or not at all), if it must occure at leat once than use un-escaped "+", and for only once or not at all then un-escaped "?", "[" and "]" means match anything betwen them BUT if "^" is IMMEDIATLY after "[" then its a negation (match anything except that).... thats it, enjoy