AddSearch allows for adding multiple domains to your account. You can add top-level domains (yourotherwebsite.com) and subdomains (subdomain.yoursite.com) for indexing on your account.

The domains added for indexing share the same search index and can be searched with any of AddSearch’s search views. AddSearch returns search results from all the domains by default but you can filter search results based on a domain name.

Multiple domain support is useful when you have content on many websites and want to have single-point access to the content from all the domains.

Instructions

To add domains to your account, follow these instructions:

  1. Login to your AddSearch Account
  2. Go to Domains and crawling under Setup
  3. Under Additional domains, click Add new domain +
  4. Add domain name without protocol (http) or trailing slash to the input field
  5. Click Save to submit changes

AddSearch crawls the pages from the new domain to the index automatically.

Picture of additional domains user interface in AddSearch Dashboard.

Filter results by the domain name

By default, AddSearch returns search results from all your domains. To receive results from a single domain you need to use category filters. To use these filters, your installation script needs an additional “categories” parameter with a 0x prefixed domain filter:

<script src="https://addsearch.com/js/?key=####&categories=0xwww.domain.com"></script>

You can add multiple categories by separating them with a comma. If the value of categories parameter is 0xblog.domain.com,0xwww.domain.com, you will see results from blog.domain.com and www.domain.com.

Additional resources

Was this helpful?

Need more help?

We’re always happy to help with code or other questions you might have. Search our documentation, contact support, or connect with our sales team.