This project is not covered by Drupal’s security advisory policy.
- Have you ever wanted to hide a particular version of a site from search engines while on a publicly-available development server?
- Do you want to have simple password protection to prevent access on a particular domain?
- Have you had issues trying to do this while sharing the same database across environments or sharing the same git branch?
- Do you want a solution that doesn't alter .htaccess or require any web server configuration?
The Hide Site module was created to get around a problem we encountered when trying to set up development sites with simple password protection only on some domains.
This module provides a simple admin interface with user specified whitelist of domains where the password protection can be bypassed- for example a local development site or a live production site.
Please note: this module won't actually prevent search engines from indexing the hidden sites as this would require robots.txt patching etc. We wanted to create a lean and kitten-friendly module which would satisfy our requirements. Instead the module switches to Drupal's "seven" theme when prompted for the access credentials and also hides the content regions which could otherwise be indexed by search engines. We believe that when crawlers look at your hidden site, there won't be enough content to warrant any significant search engine results. However, improvements and patches are welcome in the issue queue.
Instructions for use:
- Download the module in the usual way and enable the module,
- If you're not user 1 make sure the "Configure Hide Site settings" permission is set,
- Manage the Hide Site configuration under admin/config/system/hide-site.
Sponsored by Real Life Digital
Project information
1 site reports using this module
- Created by barry_fisher on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
