PDA

View Full Version : index subdomains


AllKnightAccess
09-26-2004, 12:46 AM
what is the proper way to have all of my subdomains indexed (http://subdomain1.mysite.com, http://subdomain2.mysite.com, etc.), so that search results include all subdomains, and then i can use "limit to" to limit results per subdomain? i would like to use shell to index the pages, and set up a cron to update every 7 days.

vinyl-junkie
09-26-2004, 09:39 AM
This thread (http://www.phpdig.net/forum/showthread.php?t=363) should answer all your questions.

Note: A subdomain is really just a subdirectory with its URL displayed in a different way. In other words, and using one of your examples, you can reach a subdomain like this:

http://subdomain1.mysite.com/

or you can reach it this way:

http://www.mysite.com/subdomain1/

So you can setup your robots.txt just like it's done in that thread I gave you the link to.

Hope this helps. :)

AllKnightAccess
09-26-2004, 12:40 PM
My site is allknightaccess.com.

http://teen.allknightaccess.com/ or http://mail.allknightaccess.com/

is not the same as

http://www.allknightaccess.com/teen/ or http://www.allknightaccess.com/mail/

try it and see.

vinyl-junkie
09-26-2004, 01:01 PM
Hmmm. Your server must be setup differently than mine. Still, I think you should try what that other thread recommends and see if you get what you want.

Let us know how it goes. I'll be curious to see what kind of results you get.