Why wordpress kicks me back to the dashboard of xampp? [closed]

XAMPP dashboard

XAMP has some default files (example files), you should delete that.
It’s just there to show you that everything works as expected.

With also an example .htacess which redirects you to dashboard. Before you copy and paste your files, you should have deleted everything in C:\xampp\htdocs (your htdocs)

Manual install or automatic

You could install WordPress by yourself, you will need to download WP, create a database and database user and edited the WP config.php file.

You could also just download an Add-on for XAMPP which does this for you: https://www.apachefriends.org/add-ons.html

And it will install this in a separate folder C:\xampp\apps\wordpress\htdocs which is handy if you want to test other things then only WordPress.