If Let's Encrypt cannot validate your domain because of .htaccess rules (password protection, IP restrictions, or redirects), add this rule before any other rules in your .htaccess: RewriteRule ^.well-known/ - [L]. This allows the ACME validation to reach the challenge files. On Ultra Web Hosting, AutoSSL handles this automatically.
For the complete guide:
This article has been consolidated into our SSL Certificates and HTTPS on Your Website guide for easier reference.
