title: Redirect a specific page from http to https in wordpress .htaccess
body: <p>I need to redirect only one page in my wordpress site from http to https. I searched online but none of the solutions seem to work. This is the code I have in my .htaccess file:</p>
  
  <pre><code># Redirect to force SSL on test page
  RewriteCond %{HTTPS} off
  RewriteRule ^test/$ https://www.example.com/test/ [R=301,L]
  </code></pre>
  
  <p>Any suggestions would be greatly appreciated.</p>