<?php
// Request URI is [
whatever.com?q=12345...]
header("Location: http://www.example.com/this.html");
?>
Server headers show new location is actually rewritten to "http://www.example.com/this.html/?q=12345" by the server. It's a shared hosting account at what it looks like IIS/PHP.
If new location is "http://www.example.com/" server location header is showing "http://www.example.com//?q=12345".
How do I stop server appending "/?q=12345" to new location URL?