Based on the below, SiteJet should only work with www (i.e. should only work with www subdomain): Non-www domain? - #5 by Martin
However, we are facing the oppossite issue than the OP of the above post and have been struggling for hours now.
primerocrystals.com is the primary domain of our cPanel account and it has SiteJet website. The issue is that SiteJet BOTH generates the sitemap and add canonical to every page WITHOUT www (you can check the source code of any page, for example home page).
This is obviously causes SEO and indexing issues.
The question is: how to setup SiteJet to use www for both canonical and sitemap generation?
Saw your post in the cPanel community which is a better fit
Note: Your first assumption is only for Sitejet Studio. With cPanel, the whole infrastructure is set up on your server and you can do what is possible.
Will await the cPanel colleagues post in our workplace to work this through.
Meanwhile, I want to clarify (having in mind that not everyone may understand the real issue here) and to reiterate the steps taken once again to show that the problem really exists.
Please do not use www.primerocrystals.com as the example for this issue, because it is already manually edited to avoid some issues as this is already production.
However, just now I did this:
I created completely new account in WHM with a primary domain goldshop.lt;
Logged in to cPanel and created new SiteJet website;
I used Academix templated and published it WITHOUT any edits;
And there is one more rather important issue. I am not sure whether I should create another post, but for now, as the example website is the same, I will detail it here.
Please just use the www.goldshop.lt to verify the issue:
The links to other pages are created without a trailing slash:
URLs in the generated sitemap do not have trailing slash as well (which is fine having in mind the point above):
However, when one clicks on this link, it is being 301 redirected from the page without trailing slash to the page with trailing slash. You should realize what SEO / Google Indexing / Google Search Console mess this causes.