redirects.cfg

This feature is not available to users of the Squiz Experience Cloud version of Funnelback.

Name

redirects.cfg

Location

~/conf/

Description

Used to redirect web requests sent to the root page of the Funnelback server (e.g. https://search.company.com/) based on the requested hostname. This can, for example, be used to redirect to the search end point of a particular search package based on the hostname.

By default all requests to the root page that do not match a specified domain redirect to the search package listing page.

Since

v14.2

ON THIS PAGE

Format

A text file, in the form:

domain=redirect

where:

  • domain: is the domain of the request e.g. example.com

  • redirect: is the URL path and question to redirect to e.g. /s/search.html?collection=example

Caveats:

  • Each domain can only be specified once.

  • The redirect is relative and must not contain a scheme, host or port.

Example

search.company.com=/s/search?collection=company-web&profile=web
mobile.search.company.com=/s/search?collection=company-web&form=mobile
api.search.company.com=/s/search.json?collection=company-api

© 2015- Squiz Pty Ltd