Notifications
Clear all

How to Safely Move a WordPress Site from Cloudflare to Direct Hosting (403/404 Error Fixed)

2 Posts
2 Users
0 Reactions
6 Views
Posts: 1
Topic starter
(@revivekitchencolex)
New Member
Joined: 17 hours ago

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:

  1. Verified DNS A record pointed to the correct hosting IP.

  2. Replaced .htaccess with the default WordPress rewrite rules.

  3. Checked file permissions (755 folders, 644 files).

  4. Ran the “Fix File Ownership” option inside Hostinger’s file manager.

  5. Disabled Force HTTPS temporarily under SSL settings.

  6. Cleared all Hostinger cache.

  7. 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!


1 Reply
Sofy
Posts: 5576
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

Hi,

This forum provides support for the wpForo WordPress plugin. Your question doesn’t appear to be related to wpForo.


Reply