Title: Exclude xml from ssl
Last modified: September 9, 2021

---

# Exclude xml from ssl

 *  Resolved [price4you](https://wordpress.org/support/users/price4you/)
 * (@price4you)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/exclude-xml-from-ssl/)
 * Hi,
 * we need to exclude mywebsite.com/products.xml from ssl. I try whith code bellow
   from your wbsite (I follow rules) and it’s not working, can you please help me?
 * RewriteCond %{REQUEST_URI} !/mywebsite.com/products.xml

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/exclude-xml-from-ssl/#post-14862312)
 * As wp will be also redirecting to https, You may need to add a conditional redirect
   to http for this url. You can do this by inverting the redirect rules.
 * Something like:
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine on
       RewriteCond %{HTTPS} =on [NC]
       RewriteCond %{REQUEST_URI} /your-page #add your excluded page here
       RewriteCond %{HTTP_HOST} ^domain.com [OR]
       RewriteCond %{HTTP_HOST} ^www.domain.com
       RewriteRule ^(.*)$ http://%{HTTP_HOST}%/$1 [R=301,L]
       </IfModule>
       ```
   
 *  Thread Starter [price4you](https://wordpress.org/support/users/price4you/)
 * (@price4you)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/exclude-xml-from-ssl/#post-14862379)
 * Thanks for answer!
 * I try, but it don’t work. Do I need to have plugin disabled?
 * Do I need to write whole domain or just /products.xml?
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/exclude-xml-from-ssl/#post-14864674)
 * You should also disable the WordPress 301 redirect in settings/ssl. Just /products.
   xml should be enough.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Exclude xml from ssl’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/exclude-xml-from-ssl/#post-14864674)
 * Status: resolved