I am very new to SEO. I found this place while looking for a solution to my problems.
I read all threads so as not to repeat the same question.
But my lack of basic knowledge means that I understand better than before but not quite there.
So here I am, first posting.
I am going to try my best to explain my situation.
I recently set up 3 websites on a single hosting service. (Linux Server)
[http://www.domainA.c....domainA.co.uk] -> in the root directory
[http://www.domainX.c....domainX.co.uk] -> in a folder X (=http://www.domainA.co.uk/X)
[http://www.domainY.c....domainY.co.uk] -> in a folder Y (=http://www.domainA.co.uk/Y)
(I achieved(?) this by using the hosting company's web control panel)
(They all work without "www" as well)
I don't know what to call it. I don't think it's subdomain, because
[http://www.domainX.domainA.co.uk] or [http://domainY.domainA.co.uk] doesn't work.
and also 2 more domains that are pointed to the domainY
[http://www.domainY1.co.uk] = [http://www.domainY2.co.uk] = [http://www.domainY.co.uk] (=http://www.domainA.co.uk/Y)
After reading duplicate content issue with search engines, I began to worry about search engines indexing the domains X and Y as [http://www.domainA.co.uk/X] and [http://www.domainA.co.uk/Y]. And I am also worried about the domains Y1 and Y2.
ROBOTS.TXT OR REDIRECT 301?
So I placed a robots.txt file in the root directory
And the following robots.txt file in X and Y folder
Problem 1) I was hoping that search engines will come to X and Y folders directly. But a little bit worried that search engines might always come to the root directory first and never index X and Y folders?
Problem 2) I was hoping that search engines will come to X and Y folders directly. But a little bit worried that search engines might find the way to the root directory and still index X and Y folders as [http://www.domainA.co.uk/X] and [http://www.domainA.co.uk/Y]?
While being worried, I found "redirect 301" solution and added the following lines in the .htaccess file.
redirect 301 /Y/(.*) http://www.domainY.co.uk/$1
Then I typed [http://www.domainA.co.uk/X] in my browser, expecting it to be changed to [http://www.domainX.co.uk]
But it didn't happen.
Problem 3) Even though it didn't happen, would it still prevent search engines from indexing [http://www.domainA.co.uk/X]?
Problem 4) If so, when I type [http://www.domainA.co.uk/X/file1.htm], will it be redirected to [http://www.domainX.co.uk/file1.htm] or [http://www.domainX.co.uk]?
REDIRECT 301 or MOD_REWRITE?
As to the domains Y1 and Y2, how can I make them work as they are [http://www.domainY1.co.uk]and [http://www.domainY2.co.uk] but not being indexed by search engines? I want search engines to index [http://www.domainY.co.uk] only.
Here I can not even specify my question, because I don't even know how I could write redirect 301 for this at all.
As I mentioned earlier, domainY is not a root domain, it is actually a folder called Y belong to domainA and domain Y1 and Y2 are already pointing to the Y folder (domain Y) which might mean that they are already being redirected?
Finally, while reading the threads, I came to wonder whether I should redirect the domains without www to the domains with www as well for SEO?
Sorry for asking too many questions and thank you very much.
Edited by Randy, 09 November 2004 - 10:31 AM.