Re: [PHP] Off the wall - sub-domain question
[email protected] (Jim Giner)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
On 8/22/2013 9:43 AM, Willie wrote: > The only way that I know of to take care of that is to put a file in your > main directory called "robots.txt". In that file you will put: > > > User-agent: * > Disallow: /FolderName > > > > On Thu, Aug 22, 2013 at 6:19 AM, Jim Giner <[email protected]>wrote: > >> On 8/22/2013 8:05 AM, Curtis Maurand wrote: >> >>> >>> >>> >>> Is the subdomain also in a subfolder of the main domain? >>> >>> Jim Giner wrote: >>> >>>> I have a main domain (of course) and a sub >>>> >>> domain. I'm really trying to >>> >>>> steer my personal stuff away from >>>> >>> the main one and have focused all of >>> >>>> my php development to the >>>> >>> sub-domain. >>> >>>> >>>> Lately I noticed that google catalogs my >>>> >>> sub-domain site stuff under the >>> >>>> main domain name and the links >>>> >>> that come up lead to that domain name >>> >>>> with the path that takes >>>> >>> the user to the sub-domain's home folder and >>> >>>> beyond. >>>> >>>> >>> Is there something that php (apache??) can do to control either >>>> >>> google's >>> >>>> robots or the user's view (url) so that it appears as a >>>> >>> page of my >>> >>>> sub-domain? I'm really new at this stuff and know >>>> >>> nothing. I'm lucky >>> >>>> that google is even finding my site! >>>> >>>> IN advance - I apologize for this off-topic question, >>>> >>> but this place is >>> >>>> a source of much knowledge, so I just threw in >>>> >>> a quick interlude here to >>> >>>> pick someone's brain. :) >>>> >>>> >>> -- >>>> PHP General Mailing List (http://www.php.net/) >>>> To unsubscribe, visit: http://www.php.net/unsub.php >>>> >>>> >>>> >>> Yes - the sub is an add-on domain to my primary domain. Hence the >> overlap and problem. >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > I'll try it.