# Redirecting when accessing SiteWorxs CP with http://

**URL:** <https://forums.interworx.com/t/redirecting-when-accessing-siteworxs-cp-with-http/13176>\
**Category:** Hacks / Tools / Tips / Tricks\
**Created:** [October 9, 2012, 11:14am UTC](https://forums.interworx.com/t/redirecting-when-accessing-siteworxs-cp-with-http/13176 "2012-10-09T11:14:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CRServers](https://forums.interworx.com/user_avatar/forums.interworx.com/crservers/32/13_2.png) [@CRServers](https://forums.interworx.com/u/CRServers)\
**Post date:** [October 9, 2012, 11:14am UTC](https://forums.interworx.com/t/redirecting-when-accessing-siteworxs-cp-with-http/13176/1 "2012-10-09T11:14:43Z")

</div>

Hello,

I would like to automatically redirect http://INTERWORX\_IP:2443/siteworx/ to https://INTERWORX\_IP:2443/siteworx/

By default your get this html page:  
\<!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”\> \<html\>\<head\> \<title\>400 Bad Request\</title\> \</head\>\<body\> \<h1\>Bad Request\</h1\> \<p\>Your browser sent a request that this server could not understand.\<br /\> Reason: You’re speaking plain HTTP to an SSL-enabled server port.\<br /\> Instead use the HTTPS scheme to access this URL, please.\<br /\> \<blockquote\>Hint: \<a href=“https://INTERWORX\_IP:2443/siteworx/”\>\<b\>https://INTERWORX\_IP:2443/siteworx/\</b\>\</a\>\</blockquote\>\</p\> \</body\>\</html\>

Which looks very bad.

Where is this page located? so we can modify the code to make an automatic redirection to:  
https://INTERWORX\_IP:2443/siteworx/

Thanks!
