开发者

SSL certificate issue when redirecting from 'https://example.com' to 'https://www.example.com'

I've mapped 'example.com' and 'www.example.com' to the same IP address with my hosting service provider. But because my SSL certificate only works for 'www.example.com', so what I want is when the user visit 'exam开发者_如何学Gople.com', he will be redirected to 'www.example.com'.

I'm using ASP.Net MVC and IIS 7.

Thanks


I would say you should fix your canonicalization issue in the web.config file of your web application. Look here:

http://www.barrywise.com/2008/10/seo-canonical-urls-and-301-redirects-in-windows-iis-6-iis-7/

Let me know if it working.


This site has the details:

http://www.stepforth.com/resources/web-marketing-knowledgebase/non-www-redirect/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜