ssl / https on concrete 5.7
Permalink
Hi,
- I installed ssl on my domain.
- I set cronnical url's to http and https.
this is my .htaccess:
but still athttps://www.delichtdrukkerij.com... there are images loaded from http:// is there a way to change all image paths to https in once?
Bart
- I installed ssl on my domain.
- I set cronnical url's to http and https.
this is my .htaccess:
# -- concrete5 urls start -- <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}/index.html !-f RewriteCond %{REQUEST_FILENAME}/index.php !-f RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule . index.php [L] </IfModule> # -- concrete5 urls end -- # .nl to .com and cpanel hosting own setting RewriteCond %{HTTP_HOST} ^delichtdrukkerij\.nl$ [OR] RewriteCond %{HTTP_HOST} ^www\.delichtdrukkerij\.nl$
Viewing 15 lines of 23 lines. View entire code block.
but still athttps://www.delichtdrukkerij.com... there are images loaded from http:// is there a way to change all image paths to https in once?
Bart
I had your problem as well. Perhaps you need to clear caching for changing the urls?
For me I have the following settings and they work well:
1) Set both cannonical addresses as you mentioned (Checkbox "url redirect" under these two fields activated)
2) Set a redirect only tohttp://www.domain.com in htaccess (see below)
3) Clear cache in concrete5
My .htaccess entry for this on top of my htacces file. This sets all things to https:
I think there are possible other ways to achieve it. Perhaps leave cannonical url for http:// blank and only use https:// field. But didn't tested this. Just another idea.
Oh and check your theme if there are manually urls set with http:// on certain pages.
best regards, Roland