Am having redirecting problem

Reply on other post. You don’t need a premium hosting to convert your website to a SPA. 000webhost is more than enough