Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 785519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:53:31+00:00 2026-05-14T20:53:31+00:00

Ok, I understand the Title didn’t make any sense so here I’ve tried to

  • 0

Ok, I understand the Title didn’t make any sense so here I’ve tried to explain it in detail.

I’m using a hosting that gives me space for my domain and lets me “add on” other domains on it. So lets say I have a domain A, and I add on a domain B. Basically my hosting gives me a public_html where I can put stuff that shows when someone visits website A. But, when I add the domain B, it lets me put the content of B, INSIDE of that public_html so that website B.com can also be visited by going to A.com/siteB… Thats all good, except that Google has started indexing B.com as well as A.com/siteB, I’m ok with it indexing B.com, but I somehow want to prevent it from indexing A.com/siteB so that when people search for B, it doesn’t end up showing A.com/siteB.

Any ideas? Let me know if the question is still unclear.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T20:53:33+00:00Added an answer on May 14, 2026 at 8:53 pm

    Just put a

    User-agent: *
    Disallow: /siteB
    

    in the robots.txt in the root of your main domain. All bots that have manners will accept this, but depending on the frequency they visit your site you might have to wait a bit before the search engines update their datbases.

    Additionally you could add a .htaccess with a redirect rule to /siteB/… that redirects requests that have been done using the siteA domain to http://siteB/… This will make everyone use the canonical domain even if they browse to the lesser-favored one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If the question title can't make it clear, take me explain here in more
I understand that the title was very vague and my apologies. I am using
I think that is not easy to understand what I need reading title, so
I understand that the title might not be descriptive enough, but I'm making a
I don't understand this at all. Here is some Javascript code that works in
I understand the title may sound confusing, but the goal is very clear: I
As you can understand from title, i modified Settings.cs file.Added some properties, some code
I'm trying to understand why $('#title').replaceWith('ha'); will work outside the drop: function(event, ui) {}
I'm trying to understand what exactly the above (in my question's Title) means? This
Question is in the title. I'd just love to understand why this isn't supported?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.