Comments on: How to Move HTTP to HTTPS on WordPress https://createawebsitenow.com Free resource for helping beginners to build, manage and grow their websites. Mon, 14 Feb 2024 11:17:09 +0000 hourly 1 https://wordpress.org/?v=6.0.1 By: Nick Sch"aferhoff https://createawebsitenow.com/http-to-https-wordpress/#comment-380752 Mon, 07 Jun 2021 13:57:37 +0000 https://createawebsitenow.com/?page_id=6695#comment-380752 In reply to kevin.

Hey Kevin, there can be several reasons for a 403 error. Therefore, I would suggest you look at a tutorial for this very case like this one: https://kinsta.com/blog/403-forbidden-error/

]]>
By: Nick Sch"aferhoff https://createawebsitenow.com/http-to-https-wordpress/#comment-366038 Wed, 05 May 2021 09:11:22 +0000 https://createawebsitenow.com/?page_id=6695#comment-366038 In reply to Dylan Nicholson.

Hey Dylan, sorry to hear you are having some issues transferring your site. Here are a few possible solutions you can try out:

  • Make sure the htaccess code is at the top of the file, before any WordPress-related markup
  • Clear your browser and server cache
  • Check that your site is not running on an NGINX server instead of Apache. htaccess doesn’t work on NGINX.

Hope this helps, let me know how it goes.

]]>
By: kevin https://createawebsitenow.com/http-to-https-wordpress/#comment-365383 Mon, 03 May 2021 14:32:01 +0000 https://createawebsitenow.com/?page_id=6695#comment-365383 hi thank you for your tutorial but I just changed my wodpress site to https but when I access the site it sends me back to a 403 page please how to solve the problem?
thank you for answering me

]]>
By: Dylan Nicholson https://createawebsitenow.com/http-to-https-wordpress/#comment-362297 Sun, 25 Apr 2021 21:21:43 +0000 https://createawebsitenow.com/?page_id=6695#comment-362297 I have a site where a few pages, including the home page, redirect as expected – but most of the others don’t. I can’t see any obvious differences between them. Is this something that could be changed in WP itself (I don’t have access to the webserver settings or terminal access to the underlying server).

]]>
By: Nick Sch"aferhoff https://createawebsitenow.com/http-to-https-wordpress/#comment-190538 Wed, 03 Jun 2020 12:40:44 +0000 https://createawebsitenow.com/?page_id=6695#comment-190538 In reply to JL.

Talk to your hosting provider if the certificate is set up and works correctly. That should be your first step.

]]>
By: JL https://createawebsitenow.com/http-to-https-wordpress/#comment-188681 Mon, 11 May 2020 17:55:47 +0000 https://createawebsitenow.com/?page_id=6695#comment-188681 Hi, I’m stuck at #3 when I change it impossible to connect to admin. But SSL certificate is setup on 1&1 side.

]]>
By: Nick Sch"aferhoff https://createawebsitenow.com/http-to-https-wordpress/#comment-180274 Mon, 02 Mar 2020 14:48:43 +0000 https://createawebsitenow.com/?page_id=6695#comment-180274 In reply to John.

Thanks for the detailed feedback, Jon! Happy to hear things worked out for you. We’ll see how we can make the part that you addressed more clear.

]]>
By: John https://createawebsitenow.com/http-to-https-wordpress/#comment-179358 Thu, 20 Feb 2020 16:21:18 +0000 https://createawebsitenow.com/?page_id=6695#comment-179358 Hi Folks, thank you so much for such a great tutorial. I’m a relative “newbie” but I followed the steps and it all worked perfectly.
The only mistake i made was to add the extra lines of code to the .htaccess file inside the #Begin / #End markers. Yes it worked, but would have been overwritten on next update. I see others (below) have made same mistake. Might be helpful to be more explicit in that (1) don’t change the existing text and (2) add it outside the #Begin / #End markers.

The Velvet Blues URL changer worked like a dream also. It may help others to know that if your WP Theme calls headers, image sliders etc and the theme has its own control panel where you have specified which images to use, then you mayneed to change these manually.

Yes, the plugin changed the URL of the image, but the Theme customiser is using URLS that you entered – so are not updated by the plugin. I was getting a secure grey padlock, but with a yellow warning triangle for images. Once i changed these manually it is great. Thank you again for a brilliant tutorial.

]]>
By: Nick Sch"aferhoff https://createawebsitenow.com/http-to-https-wordpress/#comment-178548 Fri, 07 Feb 2020 13:03:32 +0000 https://createawebsitenow.com/?page_id=6695#comment-178548 In reply to Jorn M.

As far as I know, WordPress only updates the parts of htaccess between # BEGIN WordPress and # END WordPress. If you include the new directives outside of that, they should be save.

]]>
By: Jorn M https://createawebsitenow.com/http-to-https-wordpress/#comment-176320 Wed, 08 Jan 2020 14:19:51 +0000 https://createawebsitenow.com/?page_id=6695#comment-176320 Hi
Thanks for a great tutorial. Although I was scared stiff when editing the wp-config and the .htaccess files it worked, so this is great.

Yet….. will the newly added redirecting sentences in the .htaccess file be overwritten if WP updates something in the file?

Kind regards
Jorn

]]>
By: Cameron https://createawebsitenow.com/http-to-https-wordpress/#comment-173976 Sun, 15 Dec 2019 17:19:50 +0000 https://createawebsitenow.com/?page_id=6695#comment-173976 In reply to Giuseppe Beghelli.

I also had issues with the .htaccess redirect. I was placing the suggested code below the existing wordpress code with no luck. I then activated the “Really Simple SSL” plugin and it worked perfectly. I looked at the .htaccess file after and the plugin had updated the file automatically. It now looks like:

# BEGIN rlrssslReallySimpleSSL rsssl_version[3.2.6]

RewriteEngine on
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

# END rlrssslReallySimpleSSL
# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

]]>
By: Nick Sch"aferhoff https://createawebsitenow.com/http-to-https-wordpress/#comment-173438 Mon, 09 Dec 2019 11:30:10 +0000 https://createawebsitenow.com/?page_id=6695#comment-173438 In reply to grangher.

Hey Grangher, the code in the article should be added in addition to what is already inside .htaccess. The directives that WordPress places in there are to create pretty permalinks and they should not conflict with the forced redirect to HTTPS. Have you tried this for yourself?

]]>
By: grangher https://createawebsitenow.com/http-to-https-wordpress/#comment-173418 Mon, 09 Dec 2019 04:43:08 +0000 https://createawebsitenow.com/?page_id=6695#comment-173418 This tutorial looks like its for wordpress but I dont understand how it can be.

1. you talk about people who do not have a .htaccess. ALL WORDPRESS websites have a .htaccess file
2. You say to add your line of code, but this makes no sense as wordpress already have specific directives – see below…

The following lines exist in every wordpress website in the world:
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

3. Are you suggesting to edit these lines or to add your code above or below these lines?
If you are suggesting to add your code above or below – you now have a htaccess with 2 redirect directives doing the same thing – isnt this bad development?

If you are suggesting to edit the wordpress directive then this is extremely bad practice as your code will be overwritten by wordpress when it updates. Or if you are clever enough (but it’s not in your instructions) to add a filter to prevent wordpress doing this then you may end up with a broken site one day when wordpress needs to update it to work with new changes to it’s core code.

Please advise if I am not understanding what your tutorial is about or whether you don’t understand wordpress?

]]>
By: Nick Sch"aferhoff https://createawebsitenow.com/http-to-https-wordpress/#comment-172138 Fri, 22 Nov 2019 11:38:05 +0000 https://createawebsitenow.com/?page_id=6695#comment-172138 In reply to Nate.

Hey Nate, glad it worked out for you. Thanks for the detailed comment!

]]>
By: Nate https://createawebsitenow.com/http-to-https-wordpress/#comment-172105 Thu, 21 Nov 2019 21:00:07 +0000 https://createawebsitenow.com/?page_id=6695#comment-172105 I had to research a lot of terms and look at other tutorials, but three hours later my site is now secure!
My big problem was I had created the site and was adding content before realizing the SSL option in siteground was not automatically turned ‘on’. So this tutorial was very helpful indeed, especially going back and changing existing content and sites.

A big stall was getting a FTP access program. I used cyberduck instead of filezilla (old laptop can’t update to most current mac OS) and followed the directions line by line. The next hurdle was backwards discovering I need to create a FTP user account on my siteground page, and then use that account for log in credentials on cyberduck. All the content in step 7 is really important! They helped me find a darn picture, buried in the wp-upload folders on siteground, that for some reason had http attached to it. After a delete, boom! SSL padlock present.

Thanks for taking the time!

]]>