Hi, I am facing few serious issues with my website, My site's url goes like this www.example.com/application but if you type www.example.com it is redirecting. We haven't used canonical tag or 301 redirect. While doing Site health checkup I came to know that google is considering exaple.com and example.com/application as different domains. So I have to use canonical tag and 301 redirect. http://example.com and example.com/index.php are also considering as different sites so canonical tag is necessary. My question is, If I want to use canonical tag then which tag should i use? is it rel="canonical" href="www.example.com/" (or) rel="canonical" href="www.example.com/application" ?
I will be wating for experts reply. Please do help me.
Thank You.