DNS Check Failed Domain name problems on Cloudflare with Siteground

Posted by George Nicolaou

On 2 Dec, 2019

How ot fix DNS Check Failed Domain name problems

Code for htaccess

# 301 --- https://yourdomain.com => https://www.yourdomain.com
RewriteCond %{HTTP_HOST} ^yourdomain.com$
RewriteRule ^$ https://www.yourdomain.com/? [L,R=301]

Code for wp-config.php

define('WP_HOME', 'https://www.yourdomain.com');
define('WP_SITEURL','https://www.yourdomain.com'); 

3 Comments

  1. Sola

    Thank you for this article! I have struggled with the DNS issue for quite some time. I followed the instructions in your post and problem solved, amazing!

    Reply
    • George Nicolaou

      happy it helped

      Reply
  2. No

    not working

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Pin It on Pinterest

Share This
Web Development 101DNS Check Failed Domain name problems on Cloudflare with Siteground