Custom Code in Secure Editor

This article refers to a previous version of the Duda Responsive Website Builder. Click here for help content on the current Duda editor.


When building and editing websites on the Duda platform, it is secured by a secure connection. You can tell this by looking at your browser bar and seeing a secure lock symbol. Each browser is a bit different, here's what it looks like in Chrome:

This makes sure that communication between you and the Duda service is secure and no one is in the middle listening. This has quite a few benefits, but also brings some issues.

If you are embedding custom code into a website, such as an iframe or JavaScript, it might not load correctly. If the content you are embedding is hosted on another website that does support a secure connection (HTTPS), then the code might not execute correctly. This is because it will be blocked by the browser, as it is loading over an insecure connection. This is a security check performed by the browser. You'll notice this by having a warning in/near your address bar:


Below you will find a few paths to troubleshoot this issue.

Force the content load over HTTPS

The first and best steps should be to try and load the custom code over an HTTPS connection. To do this, you will need to edit the code slightly and find the reference to http://. You can try adding an s to the http:// so that it becomes https://. This will force the content to load over a secure connection and thus work inside of the secure browser connection. 

Switch off the secure connection to Duda

One simple option is to turn of the secure connection to Duda, inside of your address bar. What you will want to do is start editing the URL and remove thefrom the https:// and hit return. This will force Duda to load the editor over a non-secure connection and allow you to embed your content.



Priority Phone Support

English phone support is available 18 hours a day,
Monday through Friday, 3am to 9pm (EST).

United States +1 866-776-1550 3am to 9pm (Eastern)
United Kingdom +44 (0)800-011-9071 8am to 2am (London)
France +33 (0)9-75-18-84-74 9am to 3am (Paris)
Israel +972 (0)3-720-8922 10am to 4am (Jerusalem)
Australia +61 (0)2-8880-9166 7pm to 1pm (Sydney)
To schedule a call in French, Portuguese, Hebrew or Russian, please email us at

Please Log in as a DudaPro

Priority Phone Support is available exclusively to DudaPros. Log in to your DudaPro account now to see our international support numbers.

Log In
Not a DudaPro? Start a free trial now!