Skip to content

Instantly share code, notes, and snippets.

@sc0ttkclark
Last active May 3, 2016 17:57
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sc0ttkclark/b9ee0fdd2154f64ad3ff5e12b1f9e131 to your computer and use it in GitHub Desktop.
Save sc0ttkclark/b9ee0fdd2154f64ad3ff5e12b1f9e131 to your computer and use it in GitHub Desktop.
Add these lines to your .htaccess file if you can't get cPanel Let's Encrypt installation or renewal working properly (tested on SiteGround). They MUST go above any WordPress rewrites but below the "RewriteEngine On RewriteBase /" portion.
# Stop processing any rewrites for /.well-known/ files
RewriteCond %{REQUEST_URI} ^/\.well-known/.*$ [NC]
RewriteRule ^ - [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment