Title: Exclude a URL pattern
Last modified: February 18, 2018

---

# Exclude a URL pattern

 *  Resolved [toomanyairmiles](https://wordpress.org/support/users/toomanyairmiles/)
 * (@toomanyairmiles)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/exclude-a-url-pattern/)
 * I’m using cPanel’s autoSSL feature and (since they’ve recently and thoughtlessly
   changed the way it works) I need to exclude a specific url pattern from the plugin’s
   htaccess code.
 * The pattern is *mydomain.com/.well-known/pki-validation/*
 * Is there an easy way to achieve this that the plugin won’t overwrite?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mark](https://wordpress.org/support/users/markwolters/)
 * (@markwolters)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/exclude-a-url-pattern/#post-9988512)
 * Hi,
 * if you need to exclude that domain from SSL using .htaccess then you can have
   a look at the following article: [https://really-simple-ssl.com/knowledge-base/enabling-or-excluding-ssl-for-just-one-page/](https://really-simple-ssl.com/knowledge-base/enabling-or-excluding-ssl-for-just-one-page/)
 * By adding the line
 * `RewriteCond %{REQUEST_URI} !/.well-known/pki-validation/`
 * this will let the webserver know this URL shouldn’t be redirected to [https://](https://wordpress.org/support/topic/exclude-a-url-pattern/?output_format=md).
 * Mark

Viewing 1 replies (of 1 total)

The topic ‘Exclude a URL pattern’ is closed to new replies.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mark](https://wordpress.org/support/users/markwolters/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/exclude-a-url-pattern/#post-9988512)
 * Status: resolved