I have
index.php
archive.php
...
When I go to domain.com, it loads index.php, which is expected.
But, when I go www.domain.com/page/2/
, it loads the correct posts (as in, the posts in the second page), but uses in index.php template. I want to load the archive.php template. How is this achievable?