Preventing site indexing for staging

2018-10-26 10:42:32
  • Solved
Sort by:
  • Image
    Thinking of a bio :)

    For your staging sub domain you would generally have that password protected or restricted by IP address. Password protection is available as a one click solution in the control panel under security. For IP restriction you can simply add a few lines to your .htaccess file as below which would take care of that.

    In your .htaccess

    order deny,
    allow deny from all 
    allow from <YOUR IP>

    1 year ago
Know someone who could use Hyper Host? Refer them and make money today! Become an affiliate ›