currently struggling to understand how webflow canonical URLs is working. On the site setting > SEO section > Global canonical tag URL I have placed my main domain with https://mydomain.com.
You didn’t share your actual domain, so I’m speculating here.
Most likely you have mydomain.com set as your default domain. That works fine as long as your DNS supports CNAME flattening and you have it all configured correctly.
But in that case your canonical is https://mydomain.com without the www.
^ This will fix your questions about canonicals and 301s. Right now you do not have a default domain, and Webflow does not know what to generate in the sitemap.
I’m not sure how your particular DNS setup is meant to work.
I don’t see a flattened CNAME for pembe.io but if your setup is redirecting www.pembe.io to pembe.io then you may just want to make that your canonical;
As in https://pembe.io for your site-wide canonical setting.
that’s a good hint, we have hosted some parts on amazon (the application) but the homepage is on webflow. just checked and I see this in my DNS setting:
I just checked another DNS query tool, and it’s showing some additional details-
Are you using Webflow Localization?
I am checking some of my localized sites now and I’m seeing a similar setup but only on some of them.
Seeing this, I suspect your app is running on a different domain or subdomain altogether like app.pembe.io and should not interfere.
That brings us back to the redirect issue with www as the primary domain. It’s not a locally cached redirect issue ( I’ve tested that ) which could mean that you’d need to set www as primary and then wait some hours for Webflow to catch up regarding any internal updates, DNS propagation, etc.
I think at this point I’d contact Webflow support and explain the situation. You want www as your primary, but you’re getting too many redirects error.
I don’t use the localization tool. You’re right, I have a lot of subdomains for different topics, like mail server or application servers… the main homepage. I will try this tonight and check if it’s working tomorrow. Thanks-