Nuno
Well-known member
Has I said, if I'm not wrong, comparing http://www.sphynxlair.com/ and http://www.sphynxlair.com/community/ you'll see they both have the same data.
I use nginx and I do it in the configuration:
Code:server { listen 80 default_server; listen [::]:80 default_server; server_name _; return 301 https://$host$request_uri; }
Apache:
Code:RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Yes.
Backup before running these queries .. example.com is your board url:
Code:UPDATE xf_conversation_message SET message = REPLACE(message,'http://www.example.com','https://www.example.com'); UPDATE xf_user_profile SET signature = REPLACE(signature,'http://www.example.com','https://www.example.com'); UPDATE xf_post SET message = REPLACE(message,'http://www.example.com','https://www.example.com');
UPDATE xf_profile_post SET message = REPLACE(message,'http://www.example.com','https://www.example.com');
UPDATE xf_profile_post_comment SET message = REPLACE(message,'http://www.example.com','https://www.example.com');
No, because you have the image and link proxy enabled.Just had a thought. It's going to be impossible to keep my site from having mixed content isn't it because if a user posts a non https link to the site that pretty much breaks it. Well doesn't break it but will throw mixed content warnings?
So no history is lost?I just changed the url address settings from http to https.
The code doesn't change.
No.So no history is lost?
UPDATE xf_conversation_message SET message = REPLACE(message,'http://www.domain.com','https://www.domain.com');
UPDATE xf_user_profile SET signature = REPLACE(signature,'http://www.domain.com','https://www.domain.com');
UPDATE xf_post SET message = REPLACE(message,'http://www.domain.com','https://www.domain.com');
UPDATE xf_profile_post SET message = REPLACE(message,'http://www.domain.com','https://www.domain.com');
UPDATE xf_profile_post_comment SET message = REPLACE(message,'http://www.domain.com','https://www.domain.com');
tp or to?
- Replace all references in xf_post > message from http tp https
LetsEncrypt issues SSL certificates free.i thought you had to buy ssl to do https?
Sorry, but was this answer in reference to my question?Code:UPDATE xf_conversation_message SET message = REPLACE(message,'http://www.domain.com','https://www.domain.com'); UPDATE xf_user_profile SET signature = REPLACE(signature,'http://www.domain.com','https://www.domain.com'); UPDATE xf_post SET message = REPLACE(message,'http://www.domain.com','https://www.domain.com'); UPDATE xf_profile_post SET message = REPLACE(message,'http://www.domain.com','https://www.domain.com'); UPDATE xf_profile_post_comment SET message = REPLACE(message,'http://www.domain.com','https://www.domain.com');
We use essential cookies to make this site work, and optional cookies to enhance your experience.