$set_response_code(301) $add_header('Location', 'http://'+$(HTTP_HOST)+$replace($(REQUEST_PATH),'/index.html', '')+'/') $add_header('Location', 'http://'+$(HTTP_HOST)+$replace($(REQUEST_PATH),'/index.html', '')+'/?'+$(QUERY_STRING)) Top 5: USA Basketball vs. Puerto Rico | NBA.com