Hi everyone,
I recently faced an issue while moving my WordPress website from Cloudflare DNS back to direct hosting (Hostinger).
After removing my domain from Cloudflare, my site started showing:
-
403 Forbidden — Access denied to this resource
-
404 Not Found — Page doesn’t exist
The frontend and /wp-admin both stopped working, even though all files and databases were intact.
Here’s what fixed it for me:
-
Verified DNS A record pointed to the correct hosting IP.
-
Replaced
.htaccesswith the default WordPress rewrite rules. -
Checked file permissions (755 folders, 644 files).
-
Ran the “Fix File Ownership” option inside Hostinger’s file manager.
-
Disabled Force HTTPS temporarily under SSL settings.
-
Cleared all Hostinger cache.
-
Rechecked site root mapping (
/public_html).
After these steps, the site loaded normally again.
I thought to share this here since I’ve seen a few others run into similar issues when switching from Cloudflare to direct DNS.
Would love to hear if anyone has found a cleaner migration process between Cloudflare and shared hosting setups.
Thanks in advance!
Hi,
This forum provides support for the wpForo WordPress plugin. Your question doesn’t appear to be related to wpForo.