How to login with Wget?

Hello. Why the usage of cookies in Wget to login to the website, the authentication works only for the first page? Website download, but I logged in just for сайт/index.php. Tried differently:
wget -x --load-cookies C:\cookies.txt "site" --page-requisites -r-l 10 "the site".

wget -x --load-cookies C:\cookies.txt --page-requisites -r-l 10 "the site".

wget --load-cookies C:\cookies.txt --page-requisites -r-l 10 "the site".

wget -x --load-cookies C:\cookies.txt --mirror --convert-links --page-requisites -r-l 10 "the site".

and many more as...
What's wrong? Why log only in /index.php? To receive cookies, used the extension for Google Chrome "cookies.txt".
March 23rd 20 at 18:50
1 answer
March 23rd 20 at 18:52
wget --user user --password pass example.com

Find more questions by tags WgetCommand line