How to add extra security to your Member Pages in Duda

Why you should add extra security to your Member Pages

There are two main reasons to add extra security to your Member Pages:

  1. If some tech-savvy person wants to get around your page protection without becoming a member, they can disable Javascript in their browser which will prevent the page protection popup from appearing. However, if your page has extra security, the person will simply be looking at a white page which obviously isn't super useful for them. :)
  2. Most people don't want their Member Pages indexed by search engines (like Google). The best way to prevent indexing is by adding extra security to your Member Page which automatically sends a strong "do not index" signal to Google and other search engines. This does not necessarily work 100% of the time since search engines can choose to ignore the signal, but that very rarely happens.

When a visitor goes to a page with extra security, they will still see its contents for a second or so before the page protection popup appears.

For members of yours with access to the Member Page, they will not see it whited out.

How to add extra security to your Member Pages

  1. Go to Member Pages in your MemberSpace backend > click the Add Extra Security button > click Copy:
  2. Make sure you are logged into your Duda backend.
  3. Click Pages in the left menu, then click on whatever page you want to add extra security:
  4. Click Widgets in the menu, then insert the HTML widget anywhere on your page (not the Header or Footer, though). It should not affect any spacing or layout:
  5. Remove the default wording in the HTML Content box > then paste the code you copied previously and click Update:
  6. Afterwards, the page may turn black, but don't worry! First, click the Publish (or Republish) button in the top right:
  7. After you publish, simply refresh your browser, and the page should be visible again.

White Label Website Builder

If you are using Duda's White Label Website Builder, add this line of script to the existing extra security code with your white labeled editor URL:

||'Enter white label editor URL here') > 0)
It should look like this afterwards:
<noscript><meta http-equiv="refresh" content="0; url="></noscript><meta name="robots" content="noindex, nofollow"><style>#__memberspace_modal_protected_page {position:fixed; top:0; left:0; width:100%; height:100%; background:#000; z-index:2147483646;}</style><div id="__memberspace_modal_protected_page"></div><script>if('') > 0 ||'') > 0) ||'Enter white label editor URL here') > 0){document.getElementById("__memberspace_modal_protected_page").style.display = "none";}</script>
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us