Changed this-index() for redirect() to avoid duplicate requests. Added
routing rules for content method