Detour Pro Documentation

Detour Pro Settings

Default URL Detection Method

Controls how Detour Pro reads the incoming URL to match against redirects. ExpressionEngine uses ee()->uri->uri_string; PHP uses $_SERVER['REQUEST_URI'] (the raw request URI).

  • ExpressionEngine is recommended. Use PHP only if redirects are not working, for example with certain server or routing setups.
  • Allow Trailing Slash requires PHP. The settings UI automatically switches to PHP when you enable that option.

Default Redirect Method

Used as the default when creating new detours if no method is explicitly chosen.

  • 301 (Permanent): Use for permanently moved pages. This is the typical choice.
  • 302 (Temporary): Use for temporary redirects, such as seasonal pages or A/B tests.

Enable Hit Counter

Tracks each redirect hit in the database and enables redirect analytics. This option is off by default (as of Detour Pro 1.5).

  • When on: hit counts appear per detour, and the dashboard shows 301 charts (301s Trend, Redirected vs 404, Top 10 301 Hits) plus hit charts on the add/edit detour page.
  • When off: no hit tracking and those analytics are hidden.
  • Hit data can grow over time. Use Purge Hit Counter to clear it.

Allow Trailing Slash

Allows both /path and /path/ to match the same detour. When enabled, Detour Pro tries the URL with an appended slash if the base match fails.

  • Enable when you want URLs with or without a trailing slash to redirect equivalently.
  • Requires Default URL Detection Method to be PHP. The settings UI switches to PHP automatically when you enable this.

Allow old query strings to be passed to new spot

Appends GET parameters from the original request to the target URL, except when the target defines its own value for that parameter.

  • Example: redirect from /old?color=red to /new produces /new?color=red.
  • Useful when moving pages but preserving filters or tracking parameters.
  • Detours marked as "query literal" (URLs that include query params in the match) do not pass params. Use that when the target has its own params, e.g. /search/?color=red to /search/?color=blue.

Support

Having problems setting up and/or using Detour Pro? Support is offered from 10am to 4pm EST weekdays. Send us an email at help@eeharbor.com and we will respond as quickly as we can.