My site is built using wordpress themes as when I built I didn't know web development but now I do (to some extent).
So basically I'm having hard time customizing my site according to the needs with wordpress themes and I'm thinking to migrate it to NextJS which I will be building from scratch, I will be using headless CMS for content management on site.
But the main concern and question is, will I lose my organic google rankings and SEO if I perform this process? (even though I'll try to keep site structure, content, page urls etc. the same)