Preserve Querystring through htaccess to API

Removed implicit debug flag
Added ability to disable linking in pages