How to create a separate page to display all posts in wp?

There is a main page (front-page), which contains General information on the site, but not the posts. How to add a new page, putting it will become an archive?

For example, I need to move on example.com/archive.php and there will be all the posts
March 23rd 20 at 19:24
3 answers
March 23rd 20 at 19:26
Solution
Create a file .php. It has everything you need, and to render the page in the admin you need to register
/*
Template name: Page name
*/


you will then be able to create it in the admin panel and display.

https://developer.wordpress.org/themes/template-fi...
March 23rd 20 at 19:28
1. Create a page Blog
2. Appoint a entry Page in Settings -> Reading
3. For the output use a template home.php.
March 23rd 20 at 19:30
If the main page is correct front-page.php then home.php will not work.
You can use archive.php or category.php.

Find more questions by tags WordPress