X3 mixes various domains
Posted: 13 Nov 2022, 11:15
Until recently, I had multiple domain names as aliases where I ran my X3 gallery (now I've changed them all to 301 to the main domain).
Then I noticed that apparently, X3 seemed to cache some domain names. For example, suddenly the sitemap, when called via https://domain/sitemap contained links to https://aliasdomain/ instead. And the links to the RSS feeds on the pages contained links to https://yetanotherdomain/feed/ .
Since I never configured those domains anywhere in X3 it seems that such things were cached somewhere? But even deleting the page cache didn't change anything.
Finally I set the "Force URL" parameter to my main domain and those links were correct again.
For me, this may well be a final solution since I only ever intend to use my main domain, but it appears that it is some kind of bug in X3 that this may happen.
I'd expect the sitemap and the RSS/Atom links to always reflect the current domain the site was called from, and not some other domain name X3 seems to have seen sometime in the past.
Thanks
Matt
Then I noticed that apparently, X3 seemed to cache some domain names. For example, suddenly the sitemap, when called via https://domain/sitemap contained links to https://aliasdomain/ instead. And the links to the RSS feeds on the pages contained links to https://yetanotherdomain/feed/ .
Since I never configured those domains anywhere in X3 it seems that such things were cached somewhere? But even deleting the page cache didn't change anything.
Finally I set the "Force URL" parameter to my main domain and those links were correct again.
For me, this may well be a final solution since I only ever intend to use my main domain, but it appears that it is some kind of bug in X3 that this may happen.
I'd expect the sitemap and the RSS/Atom links to always reflect the current domain the site was called from, and not some other domain name X3 seems to have seen sometime in the past.
Thanks
Matt