HTTPS in wordpress

Asked

Viewed 79 times

2

I bought a certificate and passed my http url to https in wordpress. I used the following ways:

Go to "Settings" of your Wordpress, in "General" change the "Address Wordpress (URL)" and "Website address (URL)" for "https://www.seudominio.com", if do not use the WWW place only "https://seudomain.com", after saving you may lose access temporarily to your Wordpress, do nothing, just continue.

Then in the wp-config.php:

define('FORCE_SSL_CONTENT', true);
define('FORCE_SSL_ADMIN', true);

And finally in the archive htaccess:

# BEGIN SSL
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</IfModule>
# END SSL

Many pages are redirected, from http to https, but one that does not redirect, is the 404 error page and sometimes errors occur the user being logged in, and when I update the page it is no longer, then refreshes again it is logged in.

Does anyone know any way to redirect everyone without having problems like the ones happening on my site?

  • Use the Really Simple SSL plugin: https://br.wordpress.org/plugins/really-simple-ssl/ I’ve tried several and this is the one that worked best and was the easiest to use.

  • Currently not giving more mistakes, but thanks for the tip... ATT

1 answer

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.