A friend of mine has a site where he allocated the content inside a folder named /home
. He applied a redirection rule so that if you go to domain.com
it does immediately go to domain.com/home
. It is a permanent redirect since there isn't any content at the root folder.
Now, when I go to Google, Bing and Yahoo Search, and look for "site:domain.com" no pages are listed. The only page listed is the one with a link to the root folder at domain.com
, and, as I mentioned above, there is no content or physical page at root, all the content is at the /home
folder.
Can the permanent redirect be the reason why no pages inside /home
are indexed?
EDIT:
I've gone through the index status report at Google WebMaster tools and I get this report by today. Does it say anything interesting?
Ever crawled: 2,874, Total indexed: 2, Blocked by robots: 1, Removed: 0
ABOUT SELECTED ANSWER:
As @PatomaS explains, the redirection was not be the reason why the pages where have not been indexed. It was just about time. Although, I am not sure if the redirection caused any delays on the indexation process. My friend had to wait more than 3 months to see his site in the search results, what I think was a long time.
/home
even withsite:domain.com
. Check your robots.txt maybe someone forgot to removeDisallow: *