サイトの常時SSL対応(https化)

このところ、社長に「https化対応しといて!」と言われる案件が増えました。
「はいは~い、出来ました!」と返したら、「出来てないよ!」と突っ返され、、
よく見ると、サイトのURLが「 https:// 」から始まってはいるけれど、「保護された通信」になっていない。
色々と調べて、しっかりSSL化出来るようになったので、皆さんも参考にしてください!

SSLの設定をする

エクセレントで使用しているエックスサーバーをでは比較的簡単に独自SSLの設定をすることが出来ます。サーバーによってSSLの設定方法は異なりますが、それについてはまた別の記事で書きたいと思います。

レンタルサーバーを利用している場合は、そのサーバーのマニュアルに沿って独自SSLを設定してください。

サイト内のURLをすべてhttpsに変更する

SSL設定をしただけでは、「保護された通信」になりません。ページ内にhttpから始まるURLが残っているからです。
エックスサーバーを利用している場合は、投稿ページ等のページ内のURLを自動でhttpsに変更してくれるので便利です。
自動で変換されていない場合は、全ページ自分で置換しなければなりません。

ページを一括で編集する

wordpress インポート

まず、wordpress管理画面の ツール>エクスポート からすべてのデータをエクスポートします。
エクスポートしたデータをExcelで開いて、「 http:// 」を「 https:// 」に一括で置換します。
置換したデータを ツール>インポート からWordPressインポーターでインポートします。

サイトがSSL化出来ているかを確認する

この画像のように、鍵マークが付いて「保護された通信」と出ていれば、SSL化は完了です。
これが出ていない場合は、ページ内にhttpから始まるURLが残っています。
ページ内のURLが全てhttpsから始まるURLになっていないと、SSL化が出来ていない状態になるので、すべて確認してhttpから始まるURLが残っている場合は修正しましょう。

httpのURLがどこにあるかを調べる

全部変更したはずなのに、、 どこに残っているか分からない、ということがあると思います。
その場合は、ブラウザの開発ツールを使いましょう。

Developer Tool

開発ツールを開いて「Console」タブをクリックすると、エラー項目が表示されます。
httpになっているURLが表示されるので、修正しましょう。

ページを一括で編集しても、テーマを使用している場合は「テーマオプション」で登録している画像などが変更されないままになっています。
漏れがないようにしっかり確認すれば、完璧なSSL化の完了です!

関連記事

コメント

  1. Helen

      That is a very good tip particularly to those new to the
      blogosphere. Brief but very precise info… Appreciate your sharing this one.

      A must read article!

    • web hosting was

        Wow, wonderful blog layout! How long have you been blogging for?
        you make blogging look easy. The overall look of your website is wonderful, as well as the content!

      • http://j.mp/3sYk1u8

          Pretty nice post. I just stumbled upon your weblog and wished to say that I have really enjoyed surfing around your
          blog posts. After all I will be subscribing to your rss feed and I hope you write again soon!

        • bit.ly

            It’s enormous that you are getting thoughts from this article as well as from our dialogue made at this place.

          • http://j.mp/38vuS56

              Yes! Finally someone writes about a.

            • our scoliosis surgery

                Have you ever considered about adding a little bit more than just your
                articles? I mean, what you say is important and everything.
                Nevertheless imagine if you added some great visuals or videos to give your posts more, “pop”!
                Your content is excellent but with images and clips, this blog could certainly be one of the greatest
                in its field. Wonderful blog!

              • asmr their

                  This information is invaluable. Where can I find out more?

                • bit.ly

                    Nice post. I was checking continuously this blog
                    and I’m impressed! Very useful information particularly the last
                    part 🙂 I care for such information much. I was looking for this particular info for a long time.

                    Thank you and best of luck.

                  • asmr this

                      Hi, i think that i saw you visited my website thus i came
                      to “return the favor”.I am trying to find things to improve my web site!I suppose its ok to use some of your ideas!!

                    • scoliosis surgery with

                        Do you mind if I quote a couple of your articles as long as I provide credit and sources back to your
                        weblog? My website is in the exact same area of interest as yours and my users would really benefit from a lot of the information you present here.
                        Please let me know if this ok with you. Thanks a lot!

                      • Воспоминание
                        • Злое
                          • Кэндимен
                            • ДЮНА
                              • http://bitly.com

                                  After checking out a few of the blog articles on your web site, I seriously appreciate your technique of writing a blog.
                                  I saved it to my bookmark site list and will be
                                  checking back in the near future. Please visit
                                  my web site too and tell me how you feel.
                                  quest bars http://bitly.com/3jZgEA2 quest bars

                                • 5644
                                  • http://bitly.com/3k0xFd5

                                      hi!,I love your writing so a lot! percentage we keep up a correspondence more approximately your article on AOL?
                                      I require a specialist in this house to resolve my problem.

                                      May be that is you! Taking a look forward to see you. scoliosis surgery https://0401mm.tumblr.com/ scoliosis
                                      surgery

                                    • bitly.com

                                        Wonderful beat ! I wish to apprentice while you amend your website,
                                        how can i subscribe for a blog website? The account helped me a acceptable deal.
                                        I had been tiny bit acquainted of this your broadcast provided bright clear
                                        concept cheap flights http://1704milesapart.tumblr.com/ cheap flights

                                      • app.gumroad.com

                                          I enjoy, result in I discovered just what I used to be taking a look for.
                                          You have ended my four day lengthy hunt! God Bless you man. Have a
                                          nice day. Bye asmr https://app.gumroad.com/asmr2021/p/best-asmr-online asmr

                                        • http://tinyurl.com/45xtc52b

                                            I believe this is among the most important information for me.
                                            And i am glad studying your article. However
                                            wanna remark on few normal issues, The site style is perfect, the articles is in point of fact
                                            excellent : D. Just right activity, cheers ps4 games
                                            https://tinyurl.com/45xtc52b ps4

                                          • смотреть фильм
                                            • Бестселлер 2021
                                              • 9649
                                                • www.iherb.com

                                                    In fact when someone doesn’t understand after that its up to
                                                    other visitors that they will assist, so here it happens.
                                                    quest bars https://www.iherb.com/search?kw=quest%20bars quest bars

                                                  • coub.com

                                                      It’s a pity you don’t have a donate button! I’d without a doubt donate
                                                      to this superb blog! I guess for now i’ll settle for bookmarking and adding
                                                      your RSS feed to my Google account. I look forward to brand new updates and will talk about this blog with my Facebook group.

                                                      Chat soon! scoliosis surgery https://coub.com/stories/962966-scoliosis-surgery scoliosis surgery

                                                    • Ситников
                                                      • Заказать консультацию психолога.

                                                        Консультация по Skype Приглашаем
                                                        вас на консультации детского
                                                        психолога. Консультация у психологов.
                                                        Услуги психолога. Помощь профессионального Психолога.
                                                        Помощь профессионального Психолога.
                                                        Консультация психолога онлайн.

                                                      • тнт новые танцы 2021 смотреть онлайн новые
                                                        танцы смотреть онлайн бесплатно в хорошем новые танцы онлайн бесплатно новые танцы смотреть онлайн

                                                      • «Битва экстрасенсов», 22-й сезон смотреть битва экстрасенсов все серии битва экстрасенсов

                                                      • Смотреть фильмы онлайн в хорошем качестве 1080p смотреть фильм дюна в хорошем качестве онлайн все свежие новинки кино 2021, которые уже вышли в прокат.

                                                      • Смотрите лучшие фильмы Пацанки 6 сезон 3 серия все фильмы мирового проката 2021 года

                                                      • Фильм очень понравился Игра в кальмара 2 сезон 1 серия смотреть онлайн списки лучших фильмов с
                                                        рейтингом и отзывами

                                                      • Все лучшие фильмы онлайн: самый полный каталог кино
                                                        Игра в кальмара 1 серия смотреть онлайн что посмотреть:
                                                        лучшие фильмы 2021 года.

                                                      • Claudie Goodner
                                                        • Reiko Holaday
                                                          • Rashida Detter

                                                              Pretty component of content. I simply stumbled upon your web site and in accession capital to assert that I acquire in fact enjoyed account your weblog posts. Any way I will be subscribing in your feeds and even I success you get admission to consistently rapidly.|

                                                            • Colin Goldenberg

                                                                Howdy I am so excited I found your web site, I really found you by error, while I was researching on Digg for something else, Anyways I am here now and would just like to say cheers for a tremendous post and a all round interesting blog (I also love the theme/design), I don’t have time to browse it all at the moment but I have book-marked it and also added your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the fantastic work.|

                                                              • a ps4 games

                                                                  Howdy! Quick question that’s entirely off topic.
                                                                  Do you know how to make your site mobile friendly?
                                                                  My site looks weird when browsing from my iphone 4.
                                                                  I’m trying to find a template or plugin that might be able to correct this problem.

                                                                  If you have any suggestions, please share. Many thanks!

                                                                • Lena Deibler

                                                                    With havin so much written content do you ever run into any problems of plagorism or copyright violation? My blog has a lot of exclusive content I’ve either authored myself or outsourced but it seems a lot of it is popping it up all over the web without my authorization. Do you know any solutions to help reduce content from being ripped off? I’d truly appreciate it.|

                                                                  • Sonia Wulff

                                                                      Truly no matter if someone doesn’t be aware of afterward its up to other visitors that they will assist, so here it occurs.|

                                                                    • Marcel Braner

                                                                        Excellent blog here! Additionally your website rather a lot up fast! What host are you the use of? Can I am getting your associate link on your host? I desire my web site loaded up as fast as yours lol|

                                                                      • ps4 games a

                                                                          Why visitors still use to read news papers when in this technological globe the
                                                                          whole thing is presented on net?

                                                                        • Joni Toothman

                                                                            I like the helpful info you provide in your articles. I’ll bookmark your blog and check again here frequently. I’m quite certain I’ll learn lots of new stuff right here! Best of luck for the next!|

                                                                          • Sandra Siminski

                                                                              Hello, i think that i saw you visited my website thus i came to “return the favor”.I’m attempting to find things to enhance my site!I suppose its ok to use a few of your ideas!!|

                                                                            • Roman Pam

                                                                                Excellent blog you have got here.. It’s hard to find high-quality writing like yours nowadays. I truly appreciate individuals like you! Take care!!|

                                                                              • Jimmy Beam

                                                                                  Thanks for sharing your thoughts about meta_keyword. Regards|

                                                                                • Isela Brazzell

                                                                                    If you wish for to improve your know-how just keep visiting this website and be updated with the latest news posted here.|

                                                                                  • Nicky Drewniak

                                                                                      It’s in point of fact a nice and helpful piece of information. I am happy that you shared this useful information with us. Please stay us informed like this. Thank you for sharing.|

                                                                                    • 카지노사이트

                                                                                        Usually I do not learn post on blogs, however I wish to say that this write-up very compelled me to take a look at and do so! Your writing style has been surprised me. Thank you, very great post.”
                                                                                        We are a group of volunteers and opening a new scheme in our community. Your website offered us with valuable info to work on. You’ve done an impressive job and our entire community will be grateful to you.
                                                                                        Very well written information. It will be valuable to everyone who employess it, including me. Keep up the good work – for sure i will check out more posts.

                                                                                      • 바카라사이트

                                                                                          I will right away seize your rss as I can’t find your email subscription hyperlink or newsletter service. Do you have any? Please allow me recognize in order that I may subscribe. Thanks.

                                                                                        • Вечные
                                                                                          • Вечные
                                                                                            • Вечные
                                                                                              • Нові фільми 2021 року. фільми онлайн українською

                                                                                              • Вечные

                                                                                                  Дивитися фільми українською мовою онлайн в HD якості Вечные

                                                                                                • Дивитися популярні фільми 2021-2021 року Ледяной демон смотреть онлайн

                                                                                                • Найкращі українські фільми 2021 року Последняя дуэль

                                                                                                • Новинки фільми, серіали, мультфільми 2021 року, які
                                                                                                  вже вийшли Ви можете дивитися українською на нашому сайті Охотники за привидениями смотреть онлайн

                                                                                                • Ампир V

                                                                                                    Дивитися фільми українською мовою
                                                                                                    онлайн в HD якості Ампир V

                                                                                                  • Дивитися фільми українською онлайн Страшные истории для рассказа незнакомцам

                                                                                                  • Главный герой

                                                                                                      Фільми та серiали 2020 українською мовою в HD якості Главный герой

                                                                                                    • Фільми та серiали 2020 українською мовою в HD якості Хэллоуин убивает

                                                                                                    • Luanna Sticht

                                                                                                        I blog frequently and I truly appreciate your content. Your article has really peaked my interest. I will bookmark your blog and keep checking for new details about once a week. I opted in for your RSS feed too.|

                                                                                                      • Kermit Gorr

                                                                                                          Hello mates, its enormous paragraph concerning educationand fully explained, keep it up all the time.|

                                                                                                        • it asmr

                                                                                                            Wow, this post is nice, my sister is analyzing such things, therefore I am going to tell her.

                                                                                                          • Adella Kalloch

                                                                                                              Thanks , I have just been searching for information about this topic for ages and yours is the best I’ve found out till now. However, what in regards to the bottom line? Are you sure in regards to the source?|

                                                                                                            • Keith Sinden

                                                                                                                What’s Going down i am new to this, I stumbled upon this I have found It positively useful and it has helped me out loads. I am hoping to give a contribution & help different customers like its helped me. Good job.|