External Test server Login

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by mayur.pimple on February 6, 2014 at 5:59am

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

Posted by muniraj.m on February 6, 2014 at 6:12am

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

thanks

Posted by mayur.pimple on February 6, 2014 at 7:30am

Use shield module

Posted by gauravvdeshpande on February 6, 2014 at 6:35am

Best way to protect your site use Shield module

https://drupal.org/project/shield

Gaurav Deshpande

Everything Opensource way
Profile: https://www.linkedin.com/in/gauravvdeshpande

thanks

Posted by mayur.pimple on February 6, 2014 at 7:29am

Deny search engine indexing of test/staging sites

Posted by IcreonGlobal on February 6, 2014 at 7:32am

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

yes

Posted by mayur.pimple on February 6, 2014 at 7:40am

robots.txt

Posted by sivapattabhiram on February 6, 2014 at 9:13am

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

Posted by Devaraj on February 6, 2014 at 10:56am

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 notifications

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

AltStyle によって変換されたページ (->オリジナル) /