|
|||||||
New to SitePoint Forums? Register here for free!
|
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Enthusiast
![]() Join Date: Sep 2006
Posts: 27
|
How to make Google not index a subdomain?
Hi forum,
I have got a question, but should be a piece of cake. I just want to confirm with someone how do I block search engines (all of them) from a testing subdomain? Lets say my domain is mydomain.com My subdomain is test.mydomain.com So, in my robots.txt file... Should it be like this: Agent: * Disallow:/test/ Is the above the right htaccess command and should this be placed in the main public_html folder? My subdomain redirects to a subdomain not a subdirectory..it redirects to http://test.mydomain.com Thanks for any clarifications |
|
|
|
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 01:29.









Threaded Mode