Install to Folder?

Permalink
Do I install C5 in its own folder? I did - and it works - but now the site URL has the conrete5.4.1.1 folder in it... and that's not acceptable. Do I just install in root? Thanks

 
moosh replied on at Permalink Reply
moosh
Hi,

You can install the content of concrete5.4.1.1's folder into any folder.
dmen replied on at Permalink Reply
Sorry - but that's not helpful in the least. As I explained - I installed C5 into a concrete5.4.1.1 folder - and it works fine. But then concrete5.4.1.1 shows up in the URL for my site, which I do not want. If I can install into any folder, and not have it show in the URL, please explain how.
moosh replied on at Permalink Reply
moosh
Oh ok :)

2 solutions :
1/ Install c5 in ROOT
2/ Install c5 in a folder, then use RewriteBase in htaccess
dmen replied on at Permalink Reply
Thanks moosh. That's what I was looking for - much appreciated.
bodhirayo replied on at Permalink Reply
bodhirayo
I'm trying the same thing, I've got c5 installed and working in the folder "test" in the web root. Sohttp://www.mysite.com/test/ is working as expected. What I want is the site to appear to be located in the web root, i.e.http://www.mysite.com/. Code for index.php and .htaccess in the web root appears below. Am I missing something? Many thanks in advance for your help!
Bodhi

index.php:
<?php 
require('./test/concrete/dispatcher.php');


.htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . /index.php [L]
</IfModule>
bodhirayo replied on at Permalink Reply
bodhirayo
I'm trying the same thing, I've got c5 installed and working in the folder "test" in the web root. Sohttp://www.mysite.com/test/ is working as expected. What I want is the site to appear to be located in the web root, i.e.http://www.mysite.com/. Code for index.php and .htaccess in the web root appears below. Am I missing something? Many thanks in advance for your help!
Bodhi

index.php:
<?php 
require('./test/concrete/dispatcher.php');


.htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . /index.php [L]
</IfModule>
bodhirayo replied on at Permalink Reply
bodhirayo
I'm trying the same thing, I've got c5 installed and working in the folder "test" in the web root. Sohttp://www.mysite.com/test/ is working as expected. What I want is the site to appear to be located in the web root, i.e.http://www.mysite.com/. Code for index.php and .htaccess in the web root appears below. Am I missing something? Many thanks in advance for your help!
Bodhi

index.php:
<?php 
require('./test/concrete/dispatcher.php');


.htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . /index.php [L]
</IfModule>