• Resolved 1db

    (@1db)


    On what I believe will be the last WordPress site I ever develop (not because I’m upset, but because I’ve retired), I’ve come across a problem that has me stumped. If you go to https://www.stmatthewsapaweaverville.org/welcome/ — which is the home page — you should see it as it’s meant to be seen. Then, click on the logo in the upper left. That will take you to the base URL, https://www.stmatthewsapaweaverville.org/ — and the page loads using the blog template from TwentyTwenty, instead of the home page template from my custom theme. It won’t be styled, because I deleted TwentyTwenty, and WordPress STILL tries to use that template and theme, despite the theme being set to “Custom”; despite the Read settings being set to a static page; and despite all browser caches being emptied each time I test it.

    The installation was set up today. It’s in 6.0.3, and every plugin is up-to-date. All plugins were disabled for testing purposes, and the problem persists. Perhaps significantly, it does NOT show up when you’re logged in, but does show up in every browser tested on two different systems when not logged in.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • What you’re seeing at the root of the domain is a stale cache!

    You can confirm this by adding a random query parameter to the URL (which loads the same page, but bypasses the cache, thereby showing the correct design), eg: https://www.stmatthewsapaweaverville.org/?jkjdfj

    This would also explain why you don’t see the problem when you’re logged in, as caching is often disabled for users that are logged in.

    Just flush any caching plugin you’re using. Note that your host (SiteGround) also has multiple caching features, so if flushing your caching plugin doesn’t fix the issue (or even if you’re not using a caching plugin at all)… get into your SiteGround hosting control panel and manually flush all the caching options you see.

    Good luck!

    Thread Starter 1db

    (@1db)

    George —

    Thanks, that was indeed the problem. This is the first site I’ve ever built that was hosted on Siteground, and this is the most aggressive caching I’ve ever seen. They cached the site before I even began building it!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Home page uses wrong theme’ is closed to new replies.