Added redirect_canonical filter. Might need to further develop this.