There’s no error message, but my site just load as plain text (HTML)
Other Information
It seems that there was an issue similar to mine, but it only applied to site using cloudflare and it was fixed. I don’t use cloudflare and I have this issue at 2025-03-24T07:00:00Z.
I checked your website and I think you configured the website URL in WordPress incorrectly.
All the links to assets point to URLs like https://peetu.fun/?i=2%2Fwp-includes%2Fcss%2Fdist%2Fblock-library%2Fstyle.min.css&ver=6.7.2.
I think your WordPress website is configured with the URL https://peetu.fun/?i=2. This is not correct, and it should be https://peetu.fun/. Changing that should fix the issue:
I see this is a WordPress configuration issue. It worked after I added my own domain, so I left it. But a week later this issue appears.
@KangJL Is there a quick workaround to temporarily make the CORS policy more permissive? The script does not load at all, so I am blocked from accessing the admin console.
You are correct. I followed your link and use the “Edit functions.php” method.
Edit functions.php
If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly.
And the site is back up after the fix and a few reload.
Whatever caused the incorrect setting remain uncertain. I double checked the general setting and the both URL are correct (https://peetu.fun), exactly same as what I left the setting a week ago and also what I manually placed in functions.php to bring the site back. Somehow this setting was changed by WordPress and caused the issue.