External Test server Login

mayur.pimple's picture

Hi

In many time We follow the process for site deployment.

First we upload in local then test .
after completing test site then we upload in live site.

but test site URL display in google.

Many User visit the test site and register.

I want to stop access for visitor to visit test site.

any module is there to access test login and visit test site.

Comments

use password protect

muniraj.m's picture

use password protect code(.htaccess & .htpasswd) for your test site directory..

thanks

mayur.pimple's picture

thanks

Use shield module

gauravvdeshpande's picture

Best way to protect your site use Shield module

https://drupal.org/project/shield

Gaurav Deshpande

Everything Opensource way
Profile: http://www.linkedin.com/pub/10/60b/767

thanks

mayur.pimple's picture

thanks

Deny search engine indexing of test/staging sites

IcreonGlobal's picture

You can also deny search engines to index your test site content by modifying robots.txt in drupal.

yes

mayur.pimple's picture

yes...

robots.txt

sivapattabhiram's picture

This works for me. You need to add the following directive to the robots.txt and place it at the root folder that you want to protect.

# Directories
Disallow: /

Robot.txt

Devaraj's picture

Put robot.txt in the root folder of test/staging server and add the following code

User-agent: *
Disallow: /

it will just instruct search engine not to visit / crawl any pages in the website

Devaraj
Manager - Drupal Development
Future GolfTech, Bangalore.

India

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week