redirect to base URL
Permalink
I have concrete loaded in my directory at dreamhost like this:
sitename.com/concrete5.2.1/index.php
When I type sitename.com in a browser, I get 403 Forbidden. If I fully qualify sitename.com/concrete5.2.1 it works fine. I have read and reread and the concrete info says that it's supposed to redirect to the BASE_URL. The BASE_URL is correctly defined in my config/site.php file. Here are the two lines:
define('BASE_URL', 'http://sitename.com');
define('DIR_REL', '/concrete5.2.1');
What am I missing here? Why won't it work at my base url?
-----------------------
Never mind. This is my second forum post that I figured out the answer to myself. Okay, apparently I'm not that clear on how to use forums. I use them too quickly when I should just search more, try more, and ask less. Learning.......
sitename.com/concrete5.2.1/index.php
When I type sitename.com in a browser, I get 403 Forbidden. If I fully qualify sitename.com/concrete5.2.1 it works fine. I have read and reread and the concrete info says that it's supposed to redirect to the BASE_URL. The BASE_URL is correctly defined in my config/site.php file. Here are the two lines:
define('BASE_URL', 'http://sitename.com');
define('DIR_REL', '/concrete5.2.1');
What am I missing here? Why won't it work at my base url?
-----------------------
Never mind. This is my second forum post that I figured out the answer to myself. Okay, apparently I'm not that clear on how to use forums. I use them too quickly when I should just search more, try more, and ask less. Learning.......
Hey, I'm pretty new here, think I have a similar question.
I'm thinking of installing Concrete5 into its own folder --> C5
And it would be on a subdomain : c5.sitename.com
So in order to access it from sitename.com (main domain), is this what I have to do?
define('BASE_URL', 'http://sitename.com');
define ('DIR_REL','/c5');
define('REDIRECT_TO_BASE_URL', false);
Is that all?
I'm thinking of installing Concrete5 into its own folder --> C5
And it would be on a subdomain : c5.sitename.com
So in order to access it from sitename.com (main domain), is this what I have to do?
define('BASE_URL', 'http://sitename.com');
define ('DIR_REL','/c5');
define('REDIRECT_TO_BASE_URL', false);
Is that all?
define('REDIRECT_TO_BASE_URL', false);
And also to edit this:
define('BASE_URL', 'http://yoursitename.dk');