Robots.txt And Addon Domain


Laughingcat
 Share

Recommended Posts

I haven't been able to find an answer to this particular situation.

I have a root domain 123.com

Addon domain is abc.com (abc.123.com)

I need to have a robots.txt file that will only allow permission to index the addon domain (abc.com)

The main domain (123.com) is used for personal files and server scripts. I do have a Scriptalicious wordPress install on the root 123.com.

I've created a new site in a subfolder of abc.com/new site.

I want to give permission to the search engine bots to search this 'abc' folder and any others that I create on this abc.com/additional sites site.

Where would I place the 'robots.txt' file..... Under the root 123.com or under the addon site abc.com?

Again. I don't want the subfolders of the root domain with the exception of the WordPress install to be searched or indexed. Everything in all the addon domains are fair game for the search engines.

And, could somebody give me an example of what the contents of the robots.txt should be, other than 'Allow'?

Thanks,

Mark

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share