Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter maartenbalcaen

    (@maartenbalcaen)

    @davidperroud ,

    I didn’t get an answer here or from the Monsterinsights support so I decided to remove the Monsterinsights plugin and add the Global site tag from Google analytics to my header.php-file:

    <!– Global site tag (gtag.js) – Google Analytics –>
    <script async src=”https://www.googletagmanager.com/gtag/js?id=your id”></script>
    <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag(‘js’, new Date());

    gtag(‘config’, ‘your id’);
    </script>

    Replace your id with your id number from Google analytics of course.

    Good luck!

    Maarten

    Thread Starter maartenbalcaen

    (@maartenbalcaen)

    I changed one of the images on my homepage today with the ux builder and again i got the access denied screen. I deactivated the WP-Fastest-cache plugin but that didn’t help. Deactivating the whole plugins-folder also didn’t help. Deleting the cache did the trick as always but this is really driving me crazy.
    Could it have something to do with the .htaccess file?
    Before installing the WP Fastest Cache-plugin I had already put this code in my .htaccess-file:

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg “access plus 1 year”
    ExpiresByType image/jpeg “access plus 1 year”
    ExpiresByType image/gif “access plus 1 year”
    ExpiresByType image/png “access plus 1 year”
    ExpiresByType text/css “access plus 1 month”
    ExpiresByType application/pdf “access plus 1 month”
    ExpiresByType text/x-javascript “access plus 1 month”
    ExpiresByType application/x-shockwave-flash “access plus 1 month”
    ExpiresByType image/x-icon “access plus 1 year”
    ExpiresDefault “access plus 2 days”
    </IfModule>
    ## EXPIRES CACHING ##

    I see now that the plugin adds his own caching code:

    # BEGIN LBCWpFastestCache
    <FilesMatch “\.(ico|pdf|flv|jpg|jpeg|png|gif|webp|js|css|swf|x-html|css|xml|js|woff|woff2|ttf|svg|eot)(\.gz)?$”>
    <IfModule mod_expires.c>
    AddType application/font-woff2 .woff2
    ExpiresActive On
    ExpiresDefault A0
    ExpiresByType image/webp A2592000
    ExpiresByType image/gif A2592000
    ExpiresByType image/png A2592000
    ExpiresByType image/jpg A2592000
    ExpiresByType image/jpeg A2592000
    ExpiresByType image/ico A2592000
    ExpiresByType image/svg+xml A2592000
    ExpiresByType text/css A2592000
    ExpiresByType text/javascript A2592000
    ExpiresByType application/javascript A2592000
    ExpiresByType application/x-javascript A2592000
    ExpiresByType application/font-woff2 A2592000
    </IfModule>
    <IfModule mod_headers.c>
    Header set Expires “max-age=2592000, public”
    Header unset ETag
    Header set Connection keep-alive
    FileETag None
    </IfModule>
    </FilesMatch>
    # END LBCWpFastestCache

    Could this be the problem?

    Is it wise to start a new topic to get some help?

    Any help would be appreciated..

    Thread Starter maartenbalcaen

    (@maartenbalcaen)

    Still having problems… I saw your response on another post:

    ‘I fixed the problem. Can you delete wp fastest cache and download the following version to get the latest changes please?
    https://downloads.www.ads-software.com/plugin/wp-fastest-cache.zip&#8217;

    There’s no update available when I check my plugins. Could this help me?

    In Google Search Console I’m seeing some pages having problems with css files in the wp-content/cache/wpfc-minified-folder.
    Looking for a solution I found a post where was said that the permissions of the /wp-content/cache/wpfc-mobile-cache-folder had to be set to 755. I don’t have that folder. Is that a problem?

    Thanks for your help!

    Thread Starter maartenbalcaen

    (@maartenbalcaen)

    Unfortunately I had the same problem again today. After updating a product, I got an Access denied error on the category page of the product. After deleting the cache I regained access to the page. Can you tell me how you tested this? Any ideas what to do?

    Thread Starter maartenbalcaen

    (@maartenbalcaen)

    I did an update of WP Fastest Cache on 8/10 but on 10/10 I had my last Access Denied screen when updating a Woocommerce product so this could not have been the cause.
    No idea what happened afterwards (I did no other updates) but the last days I’m getting no more errors. Maybe my host changed something because I sent a mail that I was having problems. Anyway, thank you very much for having a look!

    Thread Starter maartenbalcaen

    (@maartenbalcaen)

    Jep, Woocommerce products and categories. I had it again today. Really don’t know what’s going wrong.

    Thread Starter maartenbalcaen

    (@maartenbalcaen)

    It’s a product and/or category page, not a post.

    Thread Starter maartenbalcaen

    (@maartenbalcaen)

    Thanks for your advice but my site is back up and running. I already implemented several steps to harden my site. The only problem is the login. I already reinstalled wordpress and my theme but later I discovered some other php-files from the hack and these must have reinfected my wordpress-site. I’ll try reinstalling WordPress again. Hope that helps!

    Hello,

    I was hacked too 2 months ago. I removed those files, reinstalled the theme & installed Akismet & IPCountryblocker. And I thought everything was back to normal except for 1 small thing: When I try to login on wordpress I have to fill in my username and password 2 times. The first try I’m getting this error: ‘Invalid username or email’ while I’m 100% sure that the username and password are correct.
    This only happens the first time. When I login, logout and retry to login I’m not getting this error.
    As I lost my site 3 weeks due to this hack, I’m afraid that the hack has left some code on my site that is causing this problem. Any idea how to fix this problem?

    Thanks in advance!

Viewing 9 replies - 1 through 9 (of 9 total)