Removed URL rewrite logic