You may try this:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} /([^/]+)/([^/]+)$ [NC]
RewriteRule .* my_website/%1.php?page=%2 [L,QSA]
It will map silently:
http://localhost/my_website/anything1/anything2
To:
http://localhost/my_website/anything1.php?page=anything2
I assumed home
and dashboard
in the question are variables (Can be anything).