Home → Admin Manual → HelpSpot Hacks → Redirect HTTP Requests to HTTPS
17.8. Redirect HTTP Requests to HTTPS
Updated: Jun 22 2023, 01:45 PM
IIS
Note you must have an SSL certificate properly installed and https bindings set up properly in IIS before completing these steps. In addition be sure to edit the APP_URL variable in your .env configuration file for HelpSpot to reflect the https:// url.
- Install the rewrite module in IIS following these directions http://www.iis.net/downloads/microsoft/url-rewrite
- Open the IIS Manager and navigate to the site that your helpspot instance is installed on.
- Select URL Rewrite and add a new rule.
- For the pattern to match input the regular expression
.* - Add a new condition that checks if {HTTPS} is off
- For the action choose to redirect to https://{HTTP_HOST}/{R:0}
You site should now redirect urls that are http:// to https://
This page was: Helpful |
Not Helpful