Is there any page code I can use to force a page refresh *just once* after a page has loaded?

Yes this is possible , to do this you’re going to have to store data in the session or local. Session basically means store in current tab (session) only. Local basically means store permanently on current browser (even if the user closes all the tabs/window and come back next time the data will remain there as long as the browser hasn’t been reset/cleared)

Using session:

import {session} from 'wix-storage';
import wixLocation from 'wix-location';

$w.onReady(function () {
    let loaded = session.getItem("loaded")
    if (loaded === "true") {
        //nothing happens
    } else {
        session.setItem("loaded","true")
        wixLocation.to(wixLocation.url)
    }
})

Using Local:

import {local} from 'wix-storage';
import wixLocation from 'wix-location';

$w.onReady(function () {
    let loaded = local.getItem("loaded")
    if (loaded === "true") {
        //nothing happens
    } else {
        local.setItem("loaded","true")
        wixLocation.to(wixLocation.url)
    }
})

With session and local you can pass data to other tabs/pages. Very useful in some situations

DJ bon26