Re: Off the wall - sub-domain question
| From: | Jim Giner | Date: | Thu, 22 Aug 2013 14:00:18 +0000 |
| Subject: | Re: Off the wall - sub-domain question | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-321949@lists.php.net to get a copy of this message | ||
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 <jim.giner@albanyhandball.com>wrote:On 8/22/2013 8:05 AM, Curtis Maurand wrote:I'll try it.Is the subdomain also in a subfolder of the main domain? Jim Giner wrote:overlap and problem. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpI have a main domain (of course) and a subdomain. I'm really trying tosteer my personal stuff away fromthe main one and have focused all ofmy php development to thesub-domain.Lately I noticed that google catalogs mysub-domain site stuff under themain domain name and the linksthat come up lead to that domain namewith the path that takesthe user to the sub-domain's home folder andbeyond.Is there something that php (apache??) can do to control eithergoogle'srobots or the user's view (url) so that it appears as apage of mysub-domain? I'm really new at this stuff and knownothing. I'm luckythat google is even finding my site! IN advance - I apologize for this off-topic question,but this place isa source of much knowledge, so I just threw ina quick interlude here topick someone's brain. :)--PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpYes - the sub is an add-on domain to my primary domain. Hence the