• Dreamhost Banner Ad

Fix For Cloudflare Railgun Problem On WordPress Blogs On Dreamhost

When you enabled Cloudflare Railgun on your WordPress blog on Dreamhost, you might not be able to login to the Dashboard if you enabled the “Extra Web Security” feature when you set up your domain. How can you post now if you can’t login, right?

I’ve reported this problem to Dreamhost and they are already working for a fix. For now, if you still want to use Railgun and be able to login to your Dashboard while “Extra Web Security” is enabled, the work-around is to use Cloudflare’s Pagerule:

On your Cloudflare account, create the following Pagerule on your website.

Pattern: www.yourwebsite.com/wp-login.*
Rule: Apps: Off, Performance: Off, Security: Off, Cache level: Bypass cache

Pattern: www.yourwebsite.com/wp-admin*
Rule: Apps: Off, Performance: Off, Security: Off, Cache level: Bypass cache

If you are using SSL on your Dashboard, you can set this rule instead of the rules above:

Pattern: https://www.yourwebsite.com/*
Rule: Apps: Off, Performance: Off, Security: Off, Cache level: Bypass cache

After setting these up, you’re good to go after 60 seconds. You will be able now to login to your WordPress Dashboard while your visitors are being served fast with Railgun.

Based on my experience, Vaultpress is also having problems connecting to your site when you enabled Railgun and “Extra Web Security” is enabled. If you are using Vaultpress and encountered 500, 502, or 503 errors after enabling Railgun, set this Pagerule and everything will be back to normal:

Pattern: www.yourwebsite.com/wp-load*
Rule: Apps: Off, Performance: Off, Security: Off, Cache level: Bypass cache

These settings work for me. It is configured on this blog. As you can see, I can login to my Dashboard and post this post and Railgun is enabled on this blog. I can’t guarantee that it will work for you too. Hopefully, it does.

That’s all folks.

Marhgil Macuha

Marhgil Macuha is a Computer Engineering graduate of Batangas State University. He is a professional network marketer in the Philippines, with business partners all over the world.

Facebook Comments

Leave a Reply