• Resolved solarsuppliesuk

    (@solarsuppliesuk)


    With Phastpress enabled my site loads amazingly fast, but google analytics and facebook chat(WooCommerce) does not work at all, the only way to get it to work is to disable PhastPress. could you help?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Albert Peschar

    (@kiboit)

    Hi there,

    Thanks for trying out PhastPress.

    The problem you’re seeing is due to mod_security, a security plugin that your web hoster is using. Mod_security is making URLs like these inaccessible:

    …/wp-content/plugins/phastpress/phast.php?service=scripts&src=https%3A%2F%2Fwww.google-analytics.com%2Fanalytics.js&cacheMarker=218127

    Because I’ve seen similar issues before, I’ll see if I can fix this in PhastPress somehow, by changing the URLs so they don’t trigger mod_security. I’ll have a look at it coming weekend and get back to you.

    Alternatively, you can ask your web hosting provider to exclude URLs starting with …/wp-content/plugins/phastpress/phast.php from mod_security.

    –Albert

    Thread Starter solarsuppliesuk

    (@solarsuppliesuk)

    Thanks for your prompt reply. I was able to get the host to whitelist the URLs for now, do you know if the Urls are dynamic in that they may change?

    Plugin Author Albert Peschar

    (@kiboit)

    Yes, they are dynamic, and they will change. So all URLs containing (or beginning with) wp-content/plugins/phastpress/phast.php should be whitelisted.

    Thread Starter solarsuppliesuk

    (@solarsuppliesuk)

    So I need to see if they will whitelist wp-content/plugins/phastpress/phast.php*

    Plugin Author Albert Peschar

    (@kiboit)

    Looks like the whitelisting worked out. Great!

    I started work on mitigating this in the plug-in as well, but it’s not done for all functionality yet. As it’s working for you now, I’ll mark this as resolved.

    If you’re happy with the results on your site, I’d much appreciate it if you left a review here. ??

    Thread Starter solarsuppliesuk

    (@solarsuppliesuk)

    Yeah so far so good, you can mark it as closed

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Google Analytics and Facebook Chat not loading’ is closed to new replies.