简体   繁体   English

如何在iis7中设置301从http重定向到https

[英]How To Setup A 301 redirect from an http to https in iis7

I've read the FAQs and searched the help center. 我已经阅读了常见问题解答并搜索了帮助中心。 My URL is: https://www.loanfindersa.co.za 我的网址是: https : //www.loanfindersa.co.za

Hi Guys 嗨,大家好

I have recently discovered that the redirect setup for my site is a 302/307 one from http to https, which I know is not good for SEO as it should be a 301.And I see a lot of my back-links is going to the http one, obviously resulting in not passing the link juice to the https one, because of the temp redirect. 我最近发现,我网站的重定向设置是从http到https的302/307,我知道它对SEO不利,因为它应该是301。而且我看到很多反向链接都指向http,显然是由于临时重定向,导致未将链接源传递给https。

Can someone maybe just give me a how-to for setting up a 301 redirect through IIS7. 有人可以给我一个如何通过IIS7设置301重定向的方法。

I did get this though: 我确实得到了这个:

http://www.webmasterworld.com/microsoft_asp_net/3939263.htm http://www.webmasterworld.com/microsoft_asp_net/3939263.htm

Not sure if that is the way to go. 不知道那是不是要走的路。

I would greatly appreciate it. 我将不胜感激。

Thanks 谢谢

Dave 戴夫

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM