I have a .com website. I have some lamda function on AWS which redirect URL to specific country URL
Ex: for India: www.example.com/in
for US: www.example.com.us
I have up to 12 geographical regions like the above and also subroutes (ex: www.example.com/profile
--> www.example.com/<country code>/profile
).
My question is which URLs I need to provide in sitemap.xml for SEO?
I provided without country code but I'm getting Redirect error
on Google Search Console.