PDA

View Full Version : Subdomains question


josepeSEO
02-07-2006, 05:25 AM
Hello,

I have diferents sub domains in the same directory of the hosting,
something like:
http://www.midomain.com
default: C:/WEBSITE/home.asp
....
http://sub1.midomain.com
default: C:/WEBSITE/home_sub1.asp
....
http://sub2.midomain.com
default: C:/WEBSITE/home_sub2.asp
....

Each subdomain have their own pages, all of them are in the same directory but there aren't any link from pages of one subdomain to pages of others subdomains.

The problem is that googe has indexed these pages:
http://www.midomain.com/page_sub1.html
http://sub1.midomain.com/page_sub2.html
and many others...

If there are not links from subdomain 1 to pages of subdomain2,
How can it access from one domain to the others?
Can Google do things like this?

How can i solve it? Without move files to diferent directories?

Thanks a lot.

JohnW
02-07-2006, 08:22 AM
Google has other ways of finding pages besides following links, like for example if you visited the page when using the Google toolbar.

You could put a robots meta “no index” tag on the pages or disallow the specific pages in robots.txt.

josepeSEO
02-07-2006, 08:28 AM
Ok. Thanks a lot for the information.

About your solution:
If i put this pages in robots.txt this pages will be disabled for
all domains and subdomains.

I need the pages of subdomain1 are not enabled for indexing in
domain but yes for subdomain1.

Is possible this? in the same root directory?

Thanks a lot.


Google has other ways of finding pages besides following links, like for example if you visited the page when using the Google toolbar.

You could put a robots meta “no index” tag on the pages or disallow the specific pages in robots.txt.

JohnW
02-07-2006, 08:44 AM
The folder issue may complicate things. I am not a robots.txt expert but I am pretty sure you can disallow specific pages and do not have to block entire folders. If you dont want to clean up the folder issue, and robots.txt wont work, then use the meta tag approach.

josepeSEO
02-07-2006, 09:05 AM
Ok, so i think that my comments are not clears...

If i put a robots.txt like:
////
disallow home_sub1.asp
///

Yes googel don't index this page, but for all domains and subdomains
that are in the same root directory that robots file.

And i need google index this page, but only for sudomain:
sub1.midomain.com

Is possible?

Thanks a lot for your answers.

JohnW
02-07-2006, 10:17 AM
I am not sure I understand what you are saying. Maybe you should just use the robots meta tag.