Boss is trying to do a 301 redirect for all http://mysite.co.uk addresses to http://www.mysite.co.uk via .htaccess on IIS. Now, I have this which has always worked for me on an Apache server. Unfortunately it doesn't work on IIS. Any ideas? Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^mysite\.co.uk RewriteRule ^(.*)$ http://www.mysite.co.uk/$1 [R=permanent,L] Cheers all!
There is no .htaccess on IIS. http://learn.iis.net/page.aspx/557/translate-htaccess-content-to-iis-webconfig/ ?
You need to do this in the IIS console ideally. Here's some screenshots! http://www.trainsignal.com/blog/iis7-redirect-windows-server-2008