I found some urls indexed by google wich doesn't have in my site, so I tought its because of the canonical tag and base tag.
I need an explanition for
base tag and
Here are my questions:
1.Do I have to use both tags in pages or choose one of them?
2.If I set my baseurl tag to http://example.com/ then canonical url will show another url in sub pages like so: http://example.com/sub-page/. so! Does it affect to seo? And if it does! how to solve it?
3.If my domain is redirected to www.example.com without a slash at the end in htaccess and baseurl tag is with a slash at the end of the url, will it affect to seo urls?