Website won't update changes

Hey,

When I make any changes on the site, it doesn’t work and won’t make update in my incognito mode in the Chrome same as in Mozilla. I think it’s a problem because incognito mode is showing how front end looks currently?

I’m just sure that others can’t see my changes because I put the Ad code in my header to deploy install Ads on my site, but the Ad Networks says that they can’t see that this code was installed in the header…

What I tried:

  1. Disabled all plugins
  2. Clear the browser cache, cookies
  3. Clear the WP cache with WP Fastest Cache
  4. Removed any new plugins that I’ve installed recently

This would be so helpful as I want to start with placing ads, please could you login to my site when it’s possible? thanks for this

Hello Viliam,

Thanks for writing in!

I found out that you are using CloudFlare. Right after your updates, please log in to your CloudFlare account and purge your site cache. You also need to regenerate the minified CSS and JS files in CloudFlare.

We would love to know if this has worked for you. Thank you.

I broke the site at yersterday for 15 hours lol, because I applied for cloudflare integration by ezoic, and then when I made any change, it won’t show publicly only on my end… finally fixed that

Now t I have another problem with displaying the ads that I pasted in the header, it should work, also it displaying in the dev tools, but it can’t display them… the rep from sovrn said that it should display up to 30 minutes from deploying the tag… any suggestion?

i’ve tried dev mode to turn on and also marked all 3 options for the Auto minify in CF

I noticed that after I add the code, there is a square space in the sidebar that I can select, but when code isn’t there, I can’t select this place… it’s just white instead of ad

Hello Viliam,

I have inspected the page and I found that there is a JS error on the page:

Access to XMLHttpRequest at 'https://ap.lijit.com/readerinfo/v2' from origin 'https://musicgearo.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
beacon.min.js:14 GET https://ap.lijit.com/readerinfo/v2 net::ERR_FAILED

You may need to resolve the CORS issue. You can enable CORS in your server. Please check this out:

Hope this helps.

I did what was needed but without effect, please can you check if I pasted it properly or I need to change something there ? I just cant read about this more indepth…

I had to paste this code "Header set Access-Control-Allow-Origin “mySite” in the required place…

The guy in the forums says "And if it only concerns .js scripts you should wrap the above code inside this:

< FilesMatch “.(js)$”>
Header set Access-Control-Allow-Origin “mySite”
< /FilesMatch> "

I suppose that it should be JS as you are said there is a JS errror or format it as a first example? Thanks if you can answer!

Now I’m reading that this could be some kind of virus ?? Correct me if I’m wrong

I pasted the code as following, please is it correct?

Also as I see here, http://docs.safe.com/fme/html/FME_Server_Documentation/WebUI/CORS.htm

there is wrote that CORS is enabled by default… So why CORS for me is disabled when I didnt make anything?

Hello Viliam,

The adware may have been in your server or your WP installation. Please temporarily put your site in under construction mode and disable the plugins one by one to find out which one is generating the JS error. You may also use a virus scan feature of your hosting. I would recommend that you coordinate with your hosting provider and inform them about this.

Thank you.

I using WordFence test and it didn’t find anything? Or it do nothing when it comes to adware/malware?

Also, I started earning this day so that’s the sign that ads are displaying, but probably only rarely because it won’t show on the chrome

Please, where can I find this information about JS error? I inspected the site and I was not able to locate it, thanks for this

Hello Viliam,

You can find the error in the Chrome’s console. To know how you can use the Chrome Dev Tools and see the error, please check this out:

Hope this helps.

yeah!<33333

We’re glad to hear your site is working now.

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