I have a strange issue with a site hosted on Netlify (site name stoic-shaw-9173d0) where a legacy domain, changed and redirected over a year ago, is still showing up in logs.
https://www.learnpyqt.com/* https://www.pythonguis.com/:splat 301! https://learnpyqt.com/* https://www.pythonguis.com/:splat 301!
However, the old URL continues to show up in sources (referers).
When I contacted support about this, I was told this is “good news!” because traffic is still coming via the old domain. But redirects don’t change the referer. The only way the old domain should show up as a referer is if someone actually lands on the page and clicks a link.
With the redirect in place, how are they reaching a page on that domain?
Using 3rd party analytics I checked the pages that these visitors are “landing” on on pythonguis.com when coming from learnpyqt.com and it suggests they are using an old version of the site (the URLs are outdated). I then went and checked some old API endpoints, last used in the site over 6 months ago, and lo and behold they are still getting hits.
To top it off, the old domain still exists in Google despite a 301 redirect being configured for over a year. This is not normal.
Something seems very wrong here. It appears that some users are being served a very out of date (cached?) version of the site.
Support told me to go buy an upgrade so I can access the log drains and figure it out myself. I would appreciate some actual help/advice in debugging this.