Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Xiong Xiaofeng: SEO series of articles, skillfully using SSL certificates to improve website security and surpass the competition

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Today, I wrote this article mainly because one of my websites moved, and the ssl configuration on the previous server was not transferred, which led to a problem with the access of one of my websites. I checked today and found that it was caused by ssl.

Knowing the problem, my first reaction was, did my ssl certificate expire? I did not think that it was caused by the relocation of the website. My ssl was applied for free in Aliyun and did not expire. After a check, I found that the website had changed the server and the ssl was not configured correctly.

So I reconfigured the ssl certificate, to tell you the truth, I am not very good at this. At the beginning, I followed Ali's tutorial and found that it could not be used at all. The official tutorial was to upload the downloaded certificate file to the server. I used the CentOS system and the Nginx environment. At the beginning, I thought it was my own operation error. After several twists and turns, I was sure that the official method was not good.

So I can only do it myself, but I am a lazy person, can only find a solution online, after a wave of search, test a few is not good, can only rely on their own.

I installed the pagoda panel, Nginx configuration of this road can not get through, can only go another way, that is, directly set up in the website, the pagoda is convenient, the site directly has ssl configuration, directly copy the certificate article, the test found that it is OK.

But the question is, don't you have to consider SEO? I found that although I can visit the website, there are two URLs that can be accessed, that is, both http and https can be accessed, but the first thing that comes to mind is 301, so I set up the website 301 in the pagoda and found that after setting 301, I can't access the two addresses at all. I'm sure that I've been using the pagoda for several years, and the 301 it comes with is really hard to use.

Can only find another way, similarly, the site 301 is not successful, it is set up in the Nginx environment, so on the Internet to find a method for ssl certificate 301 jump, directly in the Nginx configuration file, open the site test success, access to http automatically jump to the https.

This method is very simple, this is a train of thought, experienced webmaster will listen to it, if it is a novice, you can pay attention to my contact consultation, I will tell you the detailed steps.

There are many advantages for websites to enable ssl certificates. In the past two years, search engine companies such as Baidu, the state and industrial and information departments have strongly promoted website security, and the major Internet giants have also responded positively. Baidu webmaster platform has said that websites visited by https will be more popular with search engines.

It is because of Baidu's attitude that I use https to visit the website, which mainly has the following advantages.

1. The website has better security and is not easy to be hijacked.

2. Make users feel more professional and secure, and protect their privacy.

3. Search engines prefer

4. It will be better to include the website.

5. More benefits

Up to now, there are very few enterprise websites with ssl certificate https access in various industries, this is also an opportunity, it is useless to apply for one as soon as possible, it will help the website a lot, now there are many companies that provide free ssl certificate services, you do not have to spend a penny to apply.

If you enable https access, but do not do 301, your http domain name can still be accessed, please contact me, I will tell you the method.

Original articles, welcome to reprint, reprint please indicate the author and source

Author: Xiong Xiaofeng

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report