SiteJet does not use www subdomain for canonical and sitemap generation
Hi,
Based on the below, SiteJet should only work with www (i.e. should only work with www subdomain): https://community.sitejet.io/t/non-www-domain/1291/5
However, we are facing the oppossite issue than the OP of the above post and have been struggling for hours now.
redacted.com is the primary domain of our cPanel account and it has SiteJet website. The issue is that SiteJet BOTH generates the sitemap (https://www.redacted.com/sitemap.xml) and add canonical to every page WITHOUT www (you can check the source code of any page, for example home page https://www.redacted.com).
This is obviously causes SEO and indexing issues.
The question is: how to setup SiteJet to use www for both canonical and sitemap generation?
Thank you very much in advance for your help.
-
Hey there! I'll likely need to speak with one of the Sitejet developers about this issue tomorrow, but I'll get more details for you then!
0 -
The Sitejet team didn't have a good explanation for why this may be happening after I spoke with them. It would be best to create a ticket so it can be investigated directly on the affected machine.
0 -
Hi, thanks for your reply.
But how do I create the ticket? The problem is that I can not create the ticket in WHM as it is licensed through Hetzner (for a dedicated server) and WHM does not allow me to create a ticket.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;
- It’s accessible at https://www.goldshop.lt/ as expected;
- So please visit https://www.goldshop.lt, check the source code and you will see:
<link rel="canonical" href="https://goldshop.lt"/>
Which is obviously very wrong (including SEO implications).
I believe you could easily reproduce this just on any WHM/cPanel instance.0 -
Thanks so much - I've asked the Sitejet team to review those steps and I'll let you know what I find out!
0 -
Thank you once again for the quick response.
Unfortunately, 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 *redacted* to verify the issue:
1. The links to other pages are created without a trailing slash:
<a class="active first" id="menu-item-8004128" href="/courses">Courses</a>
2. URLs in the generated sitemap do not have trailing slash as well (which is fine having in mind the point above):
<url>
<loc>https://goldshop.lt/courses</loc>
<changefreq>daily</changefreq>
<priority>0.80</priority>
</url>3. 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.
0 -
I heard back from the team and they confirmed this is how things work int he current version. Their best recommendation is to create the account itself using www.domain.com in step 1 above.
As far as the ticket system, you would open the ticket with your provider and they would escalate the issue to us if necessary.
0 -
Thanks, I really appreciate your help.
However, I must say that this "workaround" really crossed my mind and I tried do that (creating an account with www). And this seems impossible. What I mean by saying "impossible" is that there seem to be no difference whether I enter www.domain.tld or domain.tld in the Domain field in Create a New Account form in WHM - it still creates an account for domain.tld
So are you really sure this is the way and that it must work? Or am I doing something wrong here?0 -
That was the official reply from the Sitejet team. If that isn't working in your instance it would be best to make that ticket.
0 -
Thank you, but they definitely replied not knowing how WHM/cPanel works..
0 -
Well that isn't very helpful - could you email cs@cpanel.net about your experience with their support?
0 -
Also, what about the other SiteJet issue regarding trailing slashes that I also detailed above?
0 -
I'm not certain about the trailing / issues. It would be best to create a ticket at this point so all of the issues you're experiencing could be investigated.
0
Please sign in to leave a comment.
Comments
12 comments