base_url and SSL

Hi everyone :)

Is there a way to disable base_url in some ways, or can someone tell how do I go about redirecting
http : //www. mysite. com
https :// www. mysite. com
? .htaccess doesn't seem to be working O:

View Replies:
andrew replied on at Permalink Reply
You can add

define('REDIRECT_TO_BASE_URL', false);

in config/site.php

There are a few more advanced options like this listed here:
lab3 replied on at Permalink Reply
I have an addon domain that is not redirecting properly. I placed the code suggested and it did not work. I received an error that said "Page not found" and had a missing icon for Concrete5 in the upper left corner of the window.

Since this addon domain is in a folder off the root of the primary domain, hwo do I configure the site.php file to point to this location?

Primary site is
Addon site is

in the "public_html" folder of is a folder "another-host". When a user browses to, it should go to that folder and pull up the website. Also, I don;t want the person browsing to know it is hosted under

I tried modifying the /home/myhost/public_html/another-host/config/site.php file several different ways, but can't seem to get it to work. Either I get a blank screen, or the error mentioned above. If I browse,... everything works.

Any ideas?
glockops replied on at Permalink Reply