Codeigniter redirect() and header [duplicate]
You don't want to load the view. Only redirect to 'mvc'. Then in 'mvc' controller you have the code to handle this redirection, and load the view.
You don't want to load the view. Only redirect to 'mvc'. Then in 'mvc' controller you have the code to handle this redirection, and load the view.