Redirect Unsecure Form URL to secure one when SSL is enabled

  • Profile Image
    tjohn2000
    Asked on April 15, 2015 at 10:49 PM
    I also would like a redirect to https feature.  Any updates on this? 
  • Profile Image
    Charlie
    Answered 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.

  • Profile Image
    jaskarn 
    Answered on June 24, 2015 at 01: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]
  • Profile Image
    JohnKerns
    Answered on August 25, 2015 at 01:49 PM

    I second this request. A checkbox somewhere to redirect users to a secure page would be awesome!
  • Profile Image
    Charlie
    Answered on August 25, 2015 at 03: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.

  • Profile Image
    NGHS
    Answered on August 25, 2015 at 03: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" rel="nofollow noopener";

    }

    });

    </script>

     

  • Profile Image
    Welvin
    Answered on August 25, 2015 at 06:07 PM

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

    Regards

  • Profile Image
    NGHS
    Answered on August 28, 2015 at 09: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!