Adding Extra Security to Your Locked Pages
Why Add Extra Security?
There are two main benefits:
Prevent bypassing of page protection
A tech-savvy visitor could disable JavaScript in their browser to bypass the standard protection popup. When extra security is enabled, the page will instead appear as a blank white screen with no content, keeping your material safe.
Reduce search engine indexing
The extra security code also sends a strong “do not index” signal to Google and other search engines. While this isn’t guaranteed (search engines can choose to ignore the signal, though rarely), it helps ensure that your protected content doesn’t appear in search results.
When a visitor opens a page with extra security, they may briefly see the content for a second before the protection popup appears. This doesn’t affect customers who have proper access.
How to add extra security to your protected pages
Copy the following code and paste it into the header of each locked page on your website:
<meta name="robots" content="noindex, nofollow"><style>#__memberspace_modal_protected_page { position:fixed; top:0; left:0; width:100%; height:100%; background:#fff; z-index:2147483646; }</style><div id="__memberspace_modal_protected_page"></div>