top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

google catalogs my sub-domain site stuff under the main domain name

+1 vote
72 views

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?

posted Aug 21, 2013 by Sumit Pokharna

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button
Is the subdomain also in a subfolder of the main domain?
Yes - the sub is an add-on domain to my primary domain. Hence the overlap and problem.

1 Answer

+1 vote

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

answer Aug 22, 2013 by Mandeep Sehgal
Similar Questions
+1 vote

Our company domain is http://www.applozic.com and on searching for "applozic" in google, google is showing the results for applogic.

How to fix it?

+2 votes
0 votes

I want to retrieve the user's location after user signs in my website. How can I do that?

At this moment here is the scope that i have: $client->setScopes('email');
I guess I have to change that.

And to retrieve data I have the following:
$client->verifyIdToken()->getAttributes();

Do I need another method than this?


Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...