So yeah, im really getting annoyed about this, It appears there isn't a working way to redirect It on a microsoft hosting. Any help?
What a fecking pain the ass this is lol.... http://www.webpronews.com/topnews/2...-on-iis-nonwww-domain-name-to-www-domain-name http://seablick.com/blog/44/search-engine-friendly-301-redirects-without-touching-iis.aspx Hope that helps, I am not real fluid with windows servers so I am not too useful. Nigel
If your hosting will allow it, you can buy ISAPI Rewrite and install it... $99/server... 99% compatible with Mod Rewrite .htaccess files. I use it on a 30+ web server farm and love it. If not then IIS 7 DOES have a built in feature similar to Mod Rewrite, but I haven't seen it or used it. If your host supports IIS 7 hosting you should be able to do it. If you're using .ASP or .NET you can create an include file and include it at the top of every page so that it runs everytime a page loads and checks the HTTP Host... If not www then 301 redirect to www... As a last resort you can generate a <link rel="canonical" href="WWWVersionOfURLforCurrentPage">. This won't fix it in the browser but at least the www version of each URL will get credit for all inbound links.
Hmm, Well i updated, to iis 7, And i assume i needed to edit the web.config file, but i don't actually have one in my root file ? :/ Any help?
most hosting providers offer both windows and linux hosting. you can switch to linux hosting and setup htaccess for 301 redirect which will take care of the issue.
Check this link and follow the instructions mentioned in this. http://www.stepforth.com/resources/web-marketing-knowledgebase/non-www-redirect This will help to redirect from non www to www.
Fortunately, you can easily address this problem by adding a small amount of code to your Web root directory’s .htaccess file to set up a 301 redirect from example.com to www.example.com or vice versa.
Hi, It is called Canonical Issue. So please visit the link for solving canonical issue - -http://www.quality-web-solutions.com/blog/resolve-canonical-problems/ - http://www.webmasterworld.com/google/3640964.htm