Move to root directory
Permalink
Just wandering what I need to do to move my site from a sub directory into the root directory. If I can't not a big deal I can always do a redirect in the c-panel.
Wish it was this easy... I moved my Concrete based website from the sub-directory into the root... I changed this setting in the site.php file as mentioned and when tried to load the site, it's not finding the Theme I guess... It's loading pieces but all broken up with no Theme applied to it...
So what's the deal?
The site.php has this in it:
<?php
define('DB_SERVER', 'XXXXXX');
define('DB_USERNAME', 'XXXXX');
define('DB_PASSWORD', 'XXXXXX');
define('DB_DATABASE', 'XXXXXX');
define('DIR_REL', '/site');
define('PASSWORD_SALT', 'XXXX');
I changed out the correct info with "XXXX" for security reasons...
Any help would be appreciated. tga
So what's the deal?
The site.php has this in it:
<?php
define('DB_SERVER', 'XXXXXX');
define('DB_USERNAME', 'XXXXX');
define('DB_PASSWORD', 'XXXXXX');
define('DB_DATABASE', 'XXXXXX');
define('DIR_REL', '/site');
define('PASSWORD_SALT', 'XXXX');
I changed out the correct info with "XXXX" for security reasons...
Any help would be appreciated. tga
Try clearing all the caches, C5 and your browser(s)
Don't mean to sound clueless but how does one clear the cache in C5? Is there a cache folder in the Concrete site to empty out?
TIA
TIA
Dashboard > System & Settings > Optimization > Clear Cache
Thanks for the insight.... I'll give this all a go and see how it goes... tga
While you're in the 'Optimization' area, turn off all your caching while you're developing your site.
Thanks for the additional info.... However, I do not have access to the areas I need due to the "brokenness" of the display... How may I gain access to the Dashboard in this case?
Attached is a screen shot of what I'm seeing currently.
Thanks
Attached is a screen shot of what I'm seeing currently.
Thanks
Put this in your address bar of your browser:
or to get directly to the 'clear cache' page:
(replace 'your-site' with your site name.)
http://www.your-site.com/index.php/dashboard
or to get directly to the 'clear cache' page:
http://www.your-site.com/index.php/dashboard/system/optimization/clear_cache/
(replace 'your-site' with your site name.)
thanks for the additional information... however, when trying to access the Dashboard and all with how you mentioned... I am running into the following error when trying to log into the site... I tried it at work earlier today and got the same thing... Waited until I got home again just to make sure that I wasn't getting my login wrong... same thing...
Not Found
The requested URL /site/index.php/login/do_login/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Any ideas what the deal might be? Thanks.
Not Found
The requested URL /site/index.php/login/do_login/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Any ideas what the deal might be? Thanks.
I just re-read the thread and I'm concerned with the contents of your site.php. The DIR_REL constant is used to assign the website to a sub-directory. Since you have moved your site from a sub to the root, you shouldn't need this anymore.
If this line is still in your site.php, remove it:
If this line is still in your site.php, remove it:
define('DIR_REL', '/site');
Thanks to everyone for the guidance and help... I'm still a little new to Concrete but getting the hang of it....
Removing that line work!!! The site is now loading correctly... Woohoo!!
Appreciate it!
Removing that line work!!! The site is now loading correctly... Woohoo!!
Appreciate it!
define('DIR_REL', '/directory')
to example:
define('DIR_REL', '/site')
upload the site.php and your done.
Coool