We use the original theme in WordPress and are currently building a website on a local server.

<form class = 'login-form modal__login-form' name = "login-form" method = "post" action = "<? php echo esc_url (get_permalink ( get_page_by_path ('home')));?>">
Form to enter user name and password required for login

I didn't write any redirection on the page that describes the login process (, but it was skipped to the front page ( At this time, the login process itself seems to be completed.

It seems that the problem is likely to be seen in the following log. . .
[Mon Aug 22 12:45:08 2018] [302]:/home/
[Mon Aug 22 12:45:09 2018] [200]:/

Why is the HTTP status code 302?
Please kindly answer me.