PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   index subdomains (http://www.phpdig.net/forum/showthread.php?t=1366)

AllKnightAccess 09-26-2004 12:46 AM

index subdomains
 
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 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.


All times are GMT -8. The time now is 11:30 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.