Move Folder

Permalink
Hello,

im usinge concrete5 on my webspace and im editing online. When I did the installation I put everything in an subfolder named CONC . Now I have the problem, that my pages arent displayed under the home folder in my domain. How I can move the project to the home dir or can i make a redirection to the CONC Subfolder.

I think that a typical Dumie problem but I couldnt find any helpfull solution until now,

So thx a lot for zor assist.

 
ntgross replied on at Permalink Reply
ntgross
You can contact you hosting company for help with a redirect or

Check the config file in SITEFOLDER/config/site.php - it looks like this

define('DIR_REL', 'CONC'); <-- 'CONC' should be blank or set to the correct subfolder
ntgross replied on at Permalink Reply
ntgross
You can also try using this redirect in the .htaccess file:

RewriteEngine on
# Change yourdomain.com to be your domain.
RewriteCond %{HTTP_HOST} ^(www.)?yourdomain.com$
# Change 'subdirectory' to be the directory you will use for your domain.
RewriteCond %{REQUEST_URI} !^/subdirectory/
# Don't change this line.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Change 'subdirectory' to be the directory you will use for your domain.
RewriteRule ^(.*)$ /subdirectory/$1
# Change yourdomain.com to be your domain again.
# Change 'subdirectory' to be the directory you will use for your domain
# followed by / then the main file for your site, index.php
RewriteCond %{HTTP_HOST} ^(www.)?yourdomain.com$
RewriteRule ^(/)?$ subdirectory/index.php [L]


Just copy, paste and replace the appropriate placeholders.
jcarls replied on at Permalink Reply
I have an existing, very simple, site that I want to replace with one generated with C5. Is there any reason I can't install C5 in a subfolder and eventually replace the current index with a splash page that links to the actual C5 index in the subfolder? (I haven't installed yet because I want this first step to cause the least problems for me, a programmer not a web developer). Thanks for any input...
PLATO replied on at Permalink Reply
I had this problem too. So far I have set up a rewrite in my (root) .htaccess file to send anyone going to my desired pages to the 'correct' page. This works for me, but my site is simple for now, and this probably damages SEO.

Options +FollowSymlinks
RewriteEngine On
RewriteRule (.*) /CONC/index.php/$1
newsomphoto replied on at Permalink Reply
I am running into the same issues. I used an installer in my Cpanel to install Concrete5 and it placed the entire installation in a sub folder named conc. I definitely don't want all of the site files in a sub folder for a variety of reasons. I don't want to do any sort of redirect and I don't want to re-install the scripts. Can anyone provide me with step by step instructions on how to move the files into the root folder of public_html from conc?