We create WP pages automatically with the dot in the name. They are domain name pages. So our page gets created with the permalink domain-com but if you type domain.com it will show it as well. I have two questions about this.
Does that create duplicate content? Since I can access mydomain.com/domain.com and mydomain.com/domain-com, wouldn’t that create dup content?
These newly created domain pages show up in the sitemap.xml file as domain-com so the page gets indexed as domain-com but we want the pages to get indexed as domain.com. I know there is a custom permalinks plugin out there but it doesn’t change the sitemap.xml entries. Is there a workaround for this?
Thanks in advance.
Read more here:: WordPress Pages that use Domain URL