Excluding a subdomain from SSL
<p>i have installed SSL on my website, but i want to my SSL certificate only work on my main domain (not subdomain).
I installed Wordpress on my main domain, and i installed YetiForce on my subdomain</p>

<p>I use following code in .htaccess file</p>

<pre><code>RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://vinyl.co.id/$1 [R,L]
# BEGIN WordPress
&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} stock.vinyl.co.id
RewriteCond %{REQUEST_URI} !stock/
RewriteRule ^(.*)$ stock/$1 [L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&lt;/IfModule&gt;
# END WordPress
</code></pre>

<p>But I still can't access <a href="http://stock.vinyl.co.id" rel="nofollow noreferrer">http://stock.vinyl.co.id</a>
Please help me</p>