Bỏ qua đến nội dung chính
Gọi cho chúng tôi
Số điện thoại và giờ làm việc
Trung tâm Trợ giúp

Khám phá các tài nguyên trợ giúp trực tuyến của chúng tôi

Trợ giúp

GoDaddy Trợ giúp

Using an SSL with Your WordPress Admin Control Panel

You need an SSL certificate installed and set up on your shared hosting account before proceeding with the WordPress® installation. If you don't have an SSL, we can help. For more information, click here.

Note: If you are using Managed WordPress, we automatically handle this for you.

To enable WordPress and SSL, you need to edit your wp-config.php file. You can download this file from your account over FTP or use the FTP file manager in your account. For more information see Web & Classic Hosting help guide.

To Use an SSL with Your WordPress Admin Control Panel

  1. Using your hosting account's editor, open your WordPress installation's wp-config.php file.
  2. Select your wp-config.php file, and then click Edit.
  3. Find the following line:
    /* That's all, stop editing! Happy blogging. */
  4. Direct above it, type these two lines:
    define('FORCE_SSL_ADMIN', true);
    define('FORCE_SSL_LOGIN', true);

So, after you're done editing, your wp-config.php file should look like this:

define('FORCE_SSL_ADMIN', true);
define('FORCE_SSL_LOGIN', true);
/* That's all, stop editing! Happy blogging. */

Now when you log in to your admin page, you should see https in your browser's address bar.

Liên quan đến cộng đồng

Thomas_VDB's Avatar
Godaddy SSL renewal

6 Câu trả lời

Last posted over 1 year ago.

SueBr's Avatar
Accessing SSL/TLS in Control Panel

3 Câu trả lời

Last posted almost 2 years ago.

fuzzyrichie's Avatar
SSLS.com Certificate - Can't generate CSR

10 Câu trả lời

Last posted over 4 years ago.

PedroChacin's Avatar
HTTPS is not working on my domine

3 Câu trả lời

Last posted over 3 years ago.

Không tìm được thông tin mà bạn muốn tìm kiếm? Tìm kiếm trong Cộng đồng