C5.6 in wordpress subfolder
Permalink 1 user found helpful
Hi, guys and girls!
Got a problem with my landing on concrete 5.6. I create it on test domain, it had URL like "http://test_domain", it worked just fine. But then customer asked me to replace c5 site to his main wordpress site as a subfolder. I did it, now it can be seen by URL like "http:/main_domain/concrete5_landing" .
But now c5 site doesn`t work well. First - speed of downloading is too slow. We wait at least a minute( Then, when I enter a dashboard - it also works slow, and when I change anything - it gives 500 error or reports problem with query to database. I use the same database, as on "http://test_domain", I even dropped and create it again - the result was the same.
my config/site.php looks so:
I have no .htaccess file in my concrete 5.6. directory, but it is in root of wordpress site.
Here it is:
I DIDN`T enabled SEF URLs, and disabled caching. Looks like, I cleared cache, but I`m not sure - as just I change anything in dashboard - it falls with 500 error.
Does anyone know, how to fix it? or, maybe, you know good tutorial - please help.
Got a problem with my landing on concrete 5.6. I create it on test domain, it had URL like "http://test_domain", it worked just fine. But then customer asked me to replace c5 site to his main wordpress site as a subfolder. I did it, now it can be seen by URL like "http:/main_domain/concrete5_landing" .
But now c5 site doesn`t work well. First - speed of downloading is too slow. We wait at least a minute( Then, when I enter a dashboard - it also works slow, and when I change anything - it gives 500 error or reports problem with query to database. I use the same database, as on "http://test_domain", I even dropped and create it again - the result was the same.
my config/site.php looks so:
define('DB_SERVER', 'forxxxxxxxxxx'); define('DB_USERNAME', 'forxxxxxxxx'); define('DB_PASSWORD', 'xxxxxxx'); define('DB_DATABASE', 'forxxxxxxxxx'); define('PAGE_TITLE_FORMAT', 'xxxxxxxx'); //%2$s - page name define('BASE_URL', 'http://main_domain'); // adress of main wp site //define('DIR_REL', '/web-analytics'); // i tried to play with this parameter, it didn`t help too(
I have no .htaccess file in my concrete 5.6. directory, but it is in root of wordpress site.
Here it is:
# BEGIN Redirect RewriteEngine on RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} ^main_site\.host_name\.com$ [NC] RewriteRule (.*) http://main_site.com/$1 [R=301,L] RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} ^www\.main_site\.host_name\.com$ [NC] RewriteRule (.*) http://www.main_site.com/$1 [R=301,L] # END Redirect # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f
Viewing 15 lines of 19 lines. View entire code block.
I DIDN`T enabled SEF URLs, and disabled caching. Looks like, I cleared cache, but I`m not sure - as just I change anything in dashboard - it falls with 500 error.
Does anyone know, how to fix it? or, maybe, you know good tutorial - please help.
What do your server logs say when you get the Server 500 errors? This almost sounds like a timeout issue, or a too many redirects issue.
Unluckly, I have no access to logs. But I tried to install fresh c5 in subfolder - process of installation fails with 502 error after attempts to connect to database. Decided to use another landing-cms :(