Hi,
I am using Headless WordPress with [https://www.wpgraphql.com/]) for API hosted on SiteGround and Nextjs for frontend.
Now, I have the API working at [https://blog.mywordpress.com/graphql]) and the Nextjs frontend is working well at [https://www.mydomian.com/learn])
How can I redirect visits to [https://blog.mywordpress.com/]) to [https://www.mydomian.com/learn]) while allowing [https://blog.mywordpress.com/wp-admin]) to working on posts?
I try to do a 301 redirect from [https://blog.mywordpress.com/]) to [https://blog.mywordpress.com/]) using SiteGround but the API stopped working (I guess API address was redirected as well)
Anyone can help?
Thanks a lot!!!!
[ad_2]