WordPress.org

Forums

[resolved] Hide subdomain from search engines (4 posts)

  1. ultimateuser
    Member
    Posted 1 year ago #

    Hi there,

    I use subsites to create portals for my clients. Basically I've setup several sites: domain.som/site1, domain.com/site2 etc.

    I would like to hide the complete content of these sites from Google and other search engines.

    I believe there is a way to create a robots.txt and use some coding so they won't crawl these subsites.

    Does anyone know the code and where to place the file on my server?

    Many thanks

  2. mahendar
    Member
    Posted 1 year ago #

    You can do this in an easy manner. Under settings menu,you find this option "Allow search engines to index this site". Simply uncheck it

  3. ultimateuser
    Member
    Posted 1 year ago #

    Yes I've done that already, but wasn't sure that will be sufficient.

    Will it - or do I also need to use robots.txt?

  4. That setting controls robots.txt

    If search engines ignore it, nothing you can do to stop 'em. But that should be enough.

Topic Closed

This topic has been closed to new replies.

About this Topic