Is it possible to change install directory (after installation)?
PermalinkI installed concrete5 into my public_html/conc/ directory, but now want to eliminate the conc folder from appearing in all my URLs.
(1) I know there's some information out there how to do this using .htaccess, such as
https://www.concrete5.org/documentation/how-tos/developers/hide-the-...
but I'm worried that future updates to concrete5 might break this.
(2) I'm wondering if it's possible to simply place everything in the ~public_html/conc/ folder into the ~public_html folder and be done with it? For example
# mvdir /path/to/public_html/conc/ /path/to/public_html/.
Or, will all heck break loose?
Hoping for feedback whether this can be done, and/or if anything else needs to be changed to make this type of solution work?
1. Login to website as admin.
2. Turned pretty urls off
3. cleared cache
4. moved files from ~public_html/conc/ to ~public_html
5. opened browser, cleared browser cache
6. entered my website url
7. entered login information for admin in concrete5 login page
8. I see the following error:
Not Found
The requested URL /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 idea what went wrong?
UPDATE
I fixed it by adding the following to my .htaccess file in the pubic_html folder:
<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>
I thought this only was needed when Pretty URLs is enabled, but guess I was wrong.
For example,
www.www.mydomain.com/index.php/hello.html...
Manually entering the URL without index.php in it works OK.
www.www.mydomain.com/hello.html...
Anyway to eliminate index.php from appearing in the URLs?
I have pretty urls enabled.
UPDATE
It appears to have been cache related... I don't see it anymore.
The process here should take care of you.
http://www.concrete5.org/community/forums/customizing_c5/publishing...