WP site and Invision forum - DNS-only or Proxied

What is the name of the domain?

What is the issue you’re encountering

When I set my site to DNS-only, everything is fine, however, my host recommands that I choose Proxied. When I do that, my Invision forum/gallery totally misbehaves. I tried adding a rule to exclude the Invision installation from the cache, but it worked inconsistently.

What steps have you taken to resolve the issue?

When I set to DNS-only, I have no issue, but I am told it is not as secured (maybe it is inaccurate?)

When I set to Proxied, I have many issues:

  • I can’t post as posts as the posts vanish
  • when I try to reply, the field includes the whole thread, and I can’t remove it
  • i cannot “like” as I get a popup saying I don’t have permission
    This happens to me as admin and to my members too.

When I added a page rule, it seemed to work as I was able to post once, but members couldn’t. After a while, I could not either.

At this point, I reverted to the DNS-only until I can get more accurate suggestions to how to set Cloudflare for my WP site, with the Invision installation (local)

What are the steps to reproduce the issue?

If I change to Proxied, I get this behavior:

Any help would be appreciated

This sounds like a cache problem, however you need to reproduce it and check logs captured via:

  1. HAR file — pay attention to all requests that didn’t result in 200 OK status code, especially the ones with PUT / POST methods as these are likely to be issued to post your messages and likes.
  2. JS console output — check any exceptions returned in the console log and review which parts of your Wordpress code they are coming from in order to confirm the root cause.

It is possible that you need to clear cache and cookies locally, then bypass caching at Cloudflare edge for some JavaScript assets and / or specific areas of your site to make your specific Wordpress setup work.

1 Like

Can you explain in more details how I do that? This is foreign language to me.

Anyone can help with a detailed explanation?

There are links in ncano’s reply that tell you how to do all that.

Primarily, you use your browser’s Developer Tools (right-click to Inspect) to look for any issues when loading the site. The HAR file is what you would see in the Network tab, and JS Console is the Console tab:

2 Likes

I might have to do that later this week, when the forum is not so busy as replicating the issue will cause disruption.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.