My CMS links to other sites for convenience and I\'d like to hide the referer so that other sites don\'t see the directory and the query string of my CMS. I now have the CMS
The Referer header is something the browser sends to the Server. You are changing the respose from the server to the browser, so that will not work this way (unlike the Cookie header). As far as I know you have no server-side control of the browser's behavior on sending the Referer.