Problem solved. Feeling damn stupid right now. Problem was with the htaccess file. It was pointing the admin to the www site, but the shop is non www.
Problem solved. Feeling damn stupid right now. Problem was with the htaccess file. It was pointing the admin to the www site, but the shop is non www.