How to migrate Wordpress Metadata to Grav

I’m not good at coding…
All i could manage was : Translate the german post given in this link to english, export category wise .xml files from wordpress and then import them using linux CLI.
Every post succesfully migrated but meta data is stored by 3rd party plugins like Yoast/AIOSEO could not migrate.
I could get a database dump of those files too in .sql or .csv format but cannot import each of them to their respective item.md

Also my wordpress permalink structure is like : site.com/category1/post123.html

grav is asking me to create a /blog directory and move everything into it, then user @self.descdendants or @self.children in blod.md

but that will disrupt all permalinks.
Now they’ll look like site/blog/category/post123…
and i lose all search engine traffic, social share count, backlinks etc.

I used a quark theme skeleton but cant get latest 5-6 posts from all categories on my home page and everything is within /blog