Redirect Unsecure Form URL to secure one when SSL is enabled

  • tjohn2000
    Asked on April 15, 2015 at 10:49 PM
    I also would like a redirect to https feature.  Any updates on this? 
  • Charlie
    Replied on April 15, 2015 at 11:11 PM

    Hi,

    Just to repeat my last post on the other thread, unfortunately, we do not have this functionality yet, but there's an alternative or workaround that you can use, if you are registered on a web hosting service, you can setup a URL forwarding, this is usually offered by web hosting companies, let's say you have an old website URL and you like to redirect users to the new website URL, every time they visit the old one.

    For now, I will forward this as a feature request, unfortunately, I can't give an exact date to when this will be implemented or if it will be considered, but rest assure that the developers are already aware of this request. We will update you on this thread when we hear any news.

    Kind regards.

  • jaskarn
    Replied on June 24, 2015 at 1:50 AM
    RewriteEngine On RewriteCond %{HTTPS} on RewriteEngine On # From https to http RewriteCond %{REQUEST_URI} !^/checkout/onepage/ RewriteCond %{REQUEST_URI} !^/customer/account/ RewriteCond %{REQUEST_URI} !^/checkout/multishipping/login/ RewriteCond %{REQUEST_URI} !^/wishlist/ RewriteCond %{REQUEST_URI} !^/index.php/admin/dashboard/index/key/ RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
  • JohnKerns
    Replied on August 25, 2015 at 1:49 PM

    I second this request. A checkbox somewhere to redirect users to a secure page would be awesome!
  • Charlie
    Replied on August 25, 2015 at 3:11 PM

    @JohnKerns

    To better assist you, I went ahead and opened a separate thread for your concern, please refer to this link instead: http://www.jotform.com/answers/647470. We will address it shortly.

    Thank you.

  • NGHS
    Replied on August 25, 2015 at 3:20 PM

    Try this in the body of your html document, through static page or CMS: 

     <script>$( document ).ready(function() {

       if(document.URL.indexOf("https://URL") >= 0){

    window.location.href = "http://URL";

    }

    });

    </script>

     

  • Welvin Support Team Lead
    Replied on August 25, 2015 at 6:07 PM

    Thank you for the workaround. But that is for static HTML / PHP pages, not possible in CMS.

    Regards

  • NGHS
    Replied on August 28, 2015 at 9:19 AM

    It depends on the CMS. Our CMS uses a WYSIWYG page editor. I can drop that script into the Source view and save. Works like a charm!