I have a site running, mobilisation.nl that is multi lingual with babel. I’m experiencing two problems. The first is that I can not get it to work with friendly urls and the second, and most important, is that I am unable to get this site working on HTTPS. How should I setup my htaccess file for the use of friendly urls and to get the site working with HTTPS?
What is the context router you are using? With Xrouting you don’t need to touch on the htaccess file, except uncomment the friendly urls part just like on the simple install with 1 context.
Babel with Xrouting allows you to do what you need and having friendly urls working fine.
You need to be aware of the context configs for base url, site url, base path, locale, etc.
I have done that. After a while I found out that I also needed to remove the [[++site_url]] from my links to eg. the stylesheets () and replace it with “https://site-name.com/…”
I suspect this is a work around in some kind of way because I do not have this problem with other sites using SSL certificates. Would it be possible that Babel is conflicting somewhere, or do I miss a system setting?
I don’t think that’s necessary, as stated in this older thread (last post).
Do you have the base href set in your templates and if so, is it any different than this:
<base href="[[!++site_url]]" />
I haven’t used Babel yet, so I unfortunately can’t help if the issue origins there…
Thanks everybody! With your help my problems have been solved.
The entire site works well with SSL now, although I did have to remove a considerable amount of links to http:// that the editor hardcoded in the content.