Https problems
Hi, i know that this may seem like a repeat question to you guys but every link that to forward to an article doesnt sort my problem out. IF you could kindly help.
my site folder where i have brizy cloud project synced to is http://lonelyorphans.org/iftar4orphans/
The site does have ssl already installed before we introduced brizy to it. So the site is https://www.lonelyorphans.org
when i created a folder and put the snyc files into it, the only way it works is if it is http://lonelyorphans.org/iftar4orphans/ and it doesnt work with https://lonelyorphans.org/iftar4orphans/
I have tried what you suggested in may of the post, i deleted the folder, re-uploaded and still it gives me
{"message":"Invalid base url"}
i still cant get it to work with https?? what am i doing wrong? please please please help. A video would be great as i think many people are struggling with this. Thank you for your time
-
Hi Ali,
Please, check the www redirection record (and eventually enable the SSL certificate) and then upload the Brizy page again in your server. The code in your .htaccess file should look like:
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [L,R=301]Also, try to clear the cache in the .var/ folder.
0 -
Thank you Alex. I dont know what i did but it worked. i modded the .htaccess file in the folder and re uploaded and it worked. godady dns service is a pain so if you guys could give any tips on this it will really help. i have included a screen shot.
These are the setting options that i have and is working so far:
https://pasteboard.co/J2a5ygG.jpg
Ideally i would like the settings suggestions to directly point to brizy cloud with the setting leading to https. the guide you have in the forum doesnt work with godaddy. please help me with that. Also is there a way to change the favicon and insert tracking code on the server sync side or on the cloud side?? thank you for your support
0 -
Hi,
So, I didn't really understand. We were talking about Server Sync. Now you want to publish a project through Custom Domain? Are you referring to this article: https://support.brizy.io/hc/en-us/articles/360026046931-Custom-domain?
You can add a favicon in project settings: https://jmp.sh/FleELHt
0 -
So, I've been struggling with this INVALID BASE URL myself:
[Note: make sure you've got the basics covered, like having your SSL certificate active FIRST]
How To Make Sure Your Server-Sync Install Works For all cases (WWW, HTTP, HTTPS.)
Installing a "server sync" version of the site in the root directory of a folder on my server works in all cases EXCEPT when I use the www. subdomain.
I tried different CNAME and A Record configurations but that didn't work.
I tried the .htaccess snippet provided here (and lots of other places.) and that didn't work
Then I found a variation of the .htaccess snippet THAT DID WORK (edit your .htaccess file to include the following code) ... Here it is:
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
Here was the article I found the solution in:
https://simonecarletti.com/blog/2016/08/redirect-domain-http-https-www-apache/It worked for me, I can sleep well tonight.
0 -
Hi Andrew,
thanks for sharing <3
0
Please sign in to leave a comment.
Comments
5 comments