Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirecting from HTTP to HTTPS Help

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Hello. I have a website which we had to switch to all SSL. When the users are hitting http they are getting a forbidden error. How can I redirect any of these over to https so they dont get this error. I tried switching the Custom Error to URL and I keep getting a Local Path Absolute error. Any help?
 
Create a html page that has a redirect to your website using https. Then rather than use an absolute url in custom errors point the custom error 403.4 to the file for the html redirect page you created.
 
I did this and it is still going to the original page. For example I used the 404 page and its still somehow going to the HTTP 404 - File not found page. Why is it doing this? I restarted IIS and everything.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top