locked
Converting a site from http to https RRS feed

  • Question

  • User-1668014665 posted

    What happens to many links refering back to my site.

    My Site is http://www.mysite.com/blog/blogpost.aspx
    When it becomes https the above link, breaks, how does one redirect http links to https

    What else do I need when I install a SSL certificate? Do I buy a static IP as well?

    What is the check list for such a conversion??
    Do search engines require a notification for robots etc

    Wednesday, March 23, 2016 4:13 AM

Answers

  • User-782232518 posted

    If you use IIS 7 and above to host your web site, URL Rewrite module can be installed so that you can write rules to redirect requests from HTTP to HTTPS. If you properly configure the server to return 301 replies, then the search engines are smart enough to update on their sides.

    It is almost just installing a valid certificate and adding an HTTPS binding to the site, but hope you can test the steps on a spare machine before moving on. All the things can simulate before execution.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 23, 2016 5:46 AM
  • User-2057865890 posted

    Hi icm63,

    Take a look at HTTP to HTTPS redirects on IIS 7.x and higher.

    <?xml version="1.0" encoding="UTF-8"?>
      <configuration>  
      <system.webServer>    
        <rewrite>      
         <rules>        
          <rule name="HTTP/S to HTTPS Redirect" enabled="true" stopProcessing="true">        
          <match url="(.*)" />        
          <conditions logicalGrouping="MatchAny">          
            <add input="{SERVER_PORT_SECURE}" pattern="^1$" />          
            <add input="{SERVER_PORT_SECURE}" pattern="^0$" />        
          </conditions>        
          <action type="Redirect" url="https://{HTTP_HOST}/OWA/" redirectType="Permanent" />        
          </rule>      
         </rules>    
        </rewrite>  
       </system.webServer>
       </configuration>

    Best Regards,

    Chris Zhao

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 24, 2016 5:17 AM

All replies

  • User-782232518 posted

    If you use IIS 7 and above to host your web site, URL Rewrite module can be installed so that you can write rules to redirect requests from HTTP to HTTPS. If you properly configure the server to return 301 replies, then the search engines are smart enough to update on their sides.

    It is almost just installing a valid certificate and adding an HTTPS binding to the site, but hope you can test the steps on a spare machine before moving on. All the things can simulate before execution.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 23, 2016 5:46 AM
  • User-2057865890 posted

    Hi icm63,

    Take a look at HTTP to HTTPS redirects on IIS 7.x and higher.

    <?xml version="1.0" encoding="UTF-8"?>
      <configuration>  
      <system.webServer>    
        <rewrite>      
         <rules>        
          <rule name="HTTP/S to HTTPS Redirect" enabled="true" stopProcessing="true">        
          <match url="(.*)" />        
          <conditions logicalGrouping="MatchAny">          
            <add input="{SERVER_PORT_SECURE}" pattern="^1$" />          
            <add input="{SERVER_PORT_SECURE}" pattern="^0$" />        
          </conditions>        
          <action type="Redirect" url="https://{HTTP_HOST}/OWA/" redirectType="Permanent" />        
          </rule>      
         </rules>    
        </rewrite>  
       </system.webServer>
       </configuration>

    Best Regards,

    Chris Zhao

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 24, 2016 5:17 AM
  • User-1668014665 posted

    Thanks

    This is where I am at!

    1) I have the SSL certificate, CSR activated to domain.
    2) I am using a DCV method of HTTP

    SO what do I do now? DO I update...

    A) Update my iIS7 webconfig with your code above
    B) Load up SSL txt file to WROOT folder (with other files of site).

    QUESTION: Is that it ??

    Tuesday, April 5, 2016 7:20 PM