[eluser]ywftdg[/eluser]
It was my htaccess:
My original was:
RewriteEngine on
RewriteCond $1 !^(index\.php|ee.php|ee|assets|include|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
Then I changed the last line to:
RewriteRule ^(.*)$ /index.php?/$1 [L]
And it fixed the issue. Like I was stating, the redirect was in my controller, not in my views or anything.