Re: Sub Domain & Redirect....
Permalink
I have used Concrete to build a new site which is stored in a sub directory of my site. I bought the new domain name and have asked my Hosting Company to redirect this sub-folder to the new address. However they inform me that there is a hard coded redirect which is preventing it from happening.
I think I may need to edit my site.php file?
Here is what it currently is:
What do I need to change to have it display the new domain? Thanks.
I think I may need to edit my site.php file?
Here is what it currently is:
<?php define('DB_SERVER', 'localhost'); define('DB_USERNAME', 'davidcun_conc5'); define('DB_PASSWORD', 'cl00nb0rn1a'); define('DB_DATABASE', 'davidcun_concrete5'); define('BASE_URL', 'http://www.mymaindomainname.com'); define('DIR_REL', '/subdirectory'); define('PASSWORD_SALT', 'EzQMIZLvNko8HUeBD61mJwluinqGy3CY5bsxVTt74cS0XPRhAfgaK2pj9WrOF'); define('PERMISSIONS_MODEL', 'advanced'); ?>
What do I need to change to have it display the new domain? Thanks.
why not just move the site?http://www.concrete5.org/documentation/installation/moving_a_site/...
No not that easy way out (no serious answer!)..use .htaccess file to rewrite the url to point to your subfolder. There are several threads about this in the forum...