Problems, need help? Have a tip or advice? Post it here.
7 posts Page 1 of 1
I am struggling with the maintenance page, when I don't use the ssl certificate the 503 page works fine when I set the site offline. But when I force to https I get the default 503 page of couchcms. How to set couchcms to redirect to custom 503 page on https.
Hope for a quick reply :)
Any help or is this only possibe with forcing to redirect with htaccess. When I do that I cannot get in to the admin anymore.
Have you tried explicitly setting your site's URL (with 'https') in couch/config.php?
Code: Select all
    // 1.
    // If neccesary, define the full URL of your site including the subdomain, if any.
    // V.IMP: Don't forget the trailing slash!
    define( 'K_SITE_URL', 'https://www.yoursite.com/' );

Please let me know.
Yes I did that to, I have tried multiple things. Forced https by htaccess then removed that and did what you said. I searched the internet for days but can't get a solution. Only force to redirect to the custom file works but then I can't get to the admin panel. Or I must'n use https then it works fine.
Ok. If it is possible, please PM me the FTP+Couch access creds for your site and I'll take a look at the issue.
Thanks for the creds.

I have made some changes. Please check if things are working as expected now.
I'll commit the changes to GitHub after your feedback.
Thanks KK works perfect now, hope to see the update soon so the bug will be solved.

Keep on the good work.
7 posts Page 1 of 1