Welcome to WebmasterWorld Guest from 34.204.203.142

Forum Moderators: ocean10000

Message Too Old, No Replies

URL canonical problem in Yahoo

How to create 301 redirection in IIS hosted website?

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

New User

10+ Year Member

joined:Oct 23, 2008
posts: 2
votes: 0


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.

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

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:11873
votes: 245


you can do this with ISAPI_Rewrite similar to the apache mod_rewrite module.
this might be another possible solution for you:
[webmasterworld.com...]
3:11 am on Nov 13, 2008 (gmt 0)

New User from US 

10+ Year Member

joined:May 31, 2004
posts:31
votes: 3


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...]
8:35 pm on Nov 14, 2008 (gmt 0)

Administrator

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month

joined:Jan 14, 2004
posts:864
votes: 3


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.