Fixes URLs for if mod_rewrite is disabled and if cutKey is undefined