-
AuthorPosts
-
June 3, 2020 at 4:23 pm #1219126
I’ve been trying to switch my website from http to https off and on for a while now, and I just can’t get it to work. There is a valid and active certificate for the site, but the https version looks like parts of the site/theme are missing. I’ve tried several plugins to switch everything over to https, but they completely break it and have forced me to go to a backup copy. I have switched over serval sites in the past and never had this problem. You can see what I’m looking at by going to the website and changing http to https.
Thanks for your help!
- This topic was modified 4 years, 5 months ago by JD22333.
June 5, 2020 at 6:05 am #1219665Hey JD22333,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardJune 16, 2020 at 10:09 pm #1223195Here you are.
June 17, 2020 at 12:57 pm #1223351Hi,
Thanks for that. Did you try to change your site URL and location to https on the page in private? That should be enough if you have a valid certificate already.
Best regards,
RikardJune 17, 2020 at 2:38 pm #1223401The problem isn’t switching to https i am able to do that fine. The problem is when I switch to https everything breaks.
June 17, 2020 at 3:04 pm #1223410Hey,
Could you please post FTP logins here privately as well? I have switched HTTP links to HTTPS but they still cannot be found.
Regards,
YigitJune 17, 2020 at 3:14 pm #1223417Here you are.
June 17, 2020 at 4:34 pm #1223445Hi,
Thanks! I am getting “Server said: Login authentication failed” error though. Could you please check the credentials once again?
Best regards,
YigitJune 17, 2020 at 5:02 pm #1223451Try this for the username.
June 18, 2020 at 11:17 am #1223647Hi,
This works but this time path seems to be incorrect as only file I am seeing is .ftpquota
Best regards,
YigitJune 18, 2020 at 3:15 pm #1223736This reply has been marked as private.June 18, 2020 at 3:40 pm #1223754Hi JD22333,
Yes, we have several theme members living there.
Best regards,
VictoriaJune 25, 2020 at 10:03 pm #1225666Any luck getting it to work?
June 29, 2020 at 2:05 pm #1226439Hi JD22333,
Credentials did not work for me. Could you please update the credentials?
Best regards,
VictoriaJuly 9, 2020 at 3:38 pm #1229197Try this.
July 11, 2020 at 3:35 pm #1229614Hi JD22333,
Here are some links for you:
http://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/https://www.thepolyglotdeveloper.com/2014/12/force-https-pages-wordpress-site/
Please check the error when you get it and get back to us.
Best regards,
VictoriaJanuary 9, 2021 at 5:08 pm #1271233As I mentioned in my original comment, I tried real simple SSL before and it broke my site. Any other possible solutions? Are you thinking the manual method will work better?
January 9, 2021 at 5:46 pm #1271234Also, when I try to just force https on the admin section, it says I have to login. Then when I try to go to my login page, it still tells me I have to login to see the page.
January 13, 2021 at 3:07 pm #1272179Hi,
Thank you for the inquiry.
How did you install the SSL certificate? Did you use a tool to install the SSL certificate? The tool should automatically configure the httpd.conf file and create another config file for https or ssl after installing the certificate, but you could manually create it if it doesn’t exist. Do you have access to the httpd.conf file?
Example of the SSL config.
// https://httpd.apache.org/docs/2.4/ssl/ssl_howto.html
Have you tried doing a search and replace to change all URL from http to https?
// https://themify.me/blog/mass-replace-urls-https-wordpress-database
Best regards,
IsmaelJanuary 13, 2021 at 3:39 pm #1272188I just got on my site and half of it was deleted and all of the plugins are gone! Did you guys do this?
January 13, 2021 at 4:00 pm #1272198Looks like someone from Kriesi was messing around with things. Gave me a minor heart attack. Please don’t start moving things around without switching them back when you are done.
The SSL was installed through Cpanel, and I’ve tried the search and replace plugin along with the simple SSL originally, and it didn’t work. It was almost like WordPress wasn’t recognized through the HTTPS version.
January 15, 2021 at 8:57 am #1272616Hi,
Sorry about that. We renamed the wp-content > plugins folder to completely disable the plugins, but we forgot to change it back. Before doing the search and replace, did you set the Settings > General > WordPress Address (URL) & Site Address (URL) from http to https?
You should also configure the .htaccess file so that any http requests redirect to https. Please disable the cache and security plugins, then create a backup of the .htaccess file. After creating the backup, remove everything from the file, then replace it with the following.
RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] Header always set Content-Security-Policy "upgrade-insecure-requests;" # BEGIN WordPress # The directives (lines) between <code>BEGIN WordPress</code> and <code>END WordPress</code> are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
You can now do the search and replace afterwards.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.