Forum Moderators: open

Message Too Old, No Replies

URL canonical problem in Yahoo

How to create 301 redirection in IIS hosted website?

         

marksbsteam

11:09 am on Oct 23, 2008 (gmt 0)

10+ Year Member



This is about the URL canonical problem in my website which is hosted in IIS Server. For Yahoo and MSN search engines the result appears differently with WWW and without WWW domain. Even for some keywords searched on Yahoo, the result might show URL without WWW while the same keywords typed in Google would show results of URL with WWW. Is it common problem for all sites in Yahoo? So what should i do? I need your help...

I need help for 301 redirection for IIS server hosted website. I hope, you get my point. Should you have any questions, please do reply me.

phranque

11:30 am on Oct 23, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



you can do this with ISAPI_Rewrite similar to the apache mod_rewrite module.
this might be another possible solution for you:
[webmasterworld.com...]

docluv

3:11 am on Nov 13, 2008 (gmt 0)

10+ Year Member



You can build your own URL rewriting module in ASP.NET and make it part of your site. For IIS 7 they have finalized a great URL rewriting module, but I admit I have not had time to test it yet. You can find more on httpModule in this eBook, which has a base URL rewriter example.
[wrox.com...]

Ocean10000

8:35 pm on Nov 14, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The IIS Rewrite Module that was previously mentioned can be found at http://www.iis.net/URLRewrite [iis.net]

The drawback to this module it will only work on IIS 7, which comes with Vista and Windows 2008 server.

You may need to check with your hosting provider, to see which IIS version you are currently using. I don't know how many have switched over to Windows 2008 Server yet. I believe many are still using Windows 2003 server which comes with IIS 6.