Remove HTML or ASPX Extension

I ended up using the following sites: http://blogs.msdn.com/b/carlosag/archive/2008/09/02/iis7urlrewriteseo.aspx and http://forums.iis.net/t/1162450.aspx or basically the following code in my web.config file using the IIS7 URL Rewrite Module that most hosted sites now offer (in this case I am using GoDaddy): <system.webServer> <rewrite> <rules> <rule name=”RewriteASPX”> <match url=”(.*)” /> <conditions logicalGrouping=”MatchAll”> <add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” /> <add input=”{REQUEST_FILENAME}” …

Read more

“OR” Flag in .htaccess mod_rewrite

From http://httpd.apache.org/docs/current/mod/mod_rewrite.html ornext|OR (or next condition) Use this to combine rule conditions with a local OR instead of the implicit AND. Typical example: RewriteCond %{REMOTE_HOST} ^host1 [OR] RewriteCond %{REMOTE_HOST} ^host2 [OR] RewriteCond %{REMOTE_HOST} ^host3 RewriteRule …some special stuff for any of these hosts…