Name

BounceRobotSessionURL — remove explicit mv_session_id in RobotUA request if provided

SYNOPSIS

No | Yes

DESCRIPTION

When BounceRobotSessionURL is enabled, GET requests from RobotUAs to URLs with mv_session_id provided are redirected to the same URL minus the session_id

This keeps search engines that respect redirects from storing the session_id-salted URLs in their indexes, and helps them focus on the real resource with a single URL instead of a multitude of salted links.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Enabling BounceRobotSessionURL

BounceRobotSessionURL yes

NOTES

AVAILABILITY

BounceRobotSessionURL is available in Interchange versions:

5.8.0, 5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 724

['BounceRobotSessionURL',     'yesno', 'no'],

Source: lib/Vend/Config.pm
Line 5434 (context shows lines 5434-5446)

sub parse_yesno {
my($var, $value) = @_;
$_ = $value;
if (m/^y/i || m/^t/i || m/^1/ || m/^on/i) {
  return 1;
}
elsif (m/^n/i || m/^f/i || m/^0/ || m/^of/i) {
  return 0;
}
else {
  config_error("Use 'yes' or 'no' for the $var directive\n");
}
}

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!