- NewsmagRequirements for Newsmag
- NewsmagtagDiv Social Counter tutorial
Cloudflare is setting the cookie, why not ask them?
Hi,
we are having problems with indexing on Google. An article published in this moment is indexed as published 16 or 19 hours ago. How come?
I attach a screenshot. The article which was published recently but on Google appears as 19 hours ago -> https://dl.dropboxusercontent.com/u/22334399/Schermata%202015-07-10%20alle%2015.56.40.png
This is link of article -> http://overpress.it/2015/07/10/barcellona-torneranno-strisce-verticali-maglia-2016-2017/
The time of server, CloudFlare and WordPress are ok.
Oye @Ing Geek, esa técnica de bajar las imágenes que hay en Upload, optimizarlas, y luego volver a subirlas, ¿no te da problema luego con algunas de ellas? Me refiero a que luego no se visualizan en el navegador. He empezado con las entradas más antiguas, y me está pasando en bastantes. Utilizo CloudFlare, no sé si eso tiene que ver. También he borrado la caché del navegador, etc… Se soluciona editando el artículo e insertando de nuevo la imagen desde la librería de WP.
Hi,
@khancept Glad you’ve found a workaround yet as Chris mentioned it cloud be a caching issue. Disabling the lazy load feature shouldn’t affect the images anymore and “Exceeding the limit of 2 sec for loading all images, the lazy animation effect is canceled. This rule is also available at block’s loading content using ajax, if the animation is enabled.” as mentioned in the panel.
Also try without any plugins active it could happen due to a plugin which conflicts with theme’s lazy loading script causing this, you do have some js errors in the console: http://screencast.com/t/XIuiBJ9gqh
Let us know if it happens again so we can check.
Thanks
Hi,
Unfortunately we did not tested the theme with minification tool from cloudflare so that why we don’t recommend it to be used as it may appear some issues. We have this on our list and we plan to take a closer look to this in future and fix potential issues.
Thanks for the message!
Sir if the problem is related to Cloudflare, then I can see this issue in Newspaper demo version also: http://prntscr.com/7parmh The social sharring buttons and views counter are not loading properly in mobile version if I check the demo Newspaper site in mobile emulator (http://www.mobilephoneemulator.com/). Also I checked in my Moto G phone in Opera browser and still same problem persists
anyways it’s fixed now…I guess reason was – I had enabled Minfy JS on cloudflare.. Disabling it and purging cache worked
It would be great if developers can have a look at it why minify JS gives error on this theme
Thanks Chris sir. Yes fonts are loading properly on desktop version. I read CORS documentation in Cloudflare still I couldnt understand how to change the settings
Hi,
I don’t see a logo in your site and I’m using desktop. The theme seems to be printing the image URL “http://www.planestrainsautomobiles.co.uk/wp-content/uploads/2015/06/PTA-logo-web-2.png” but server says that image is not there. Try to reset the image/logo at the theme panel.
About security, it’s a big topic.
Wordpress sites get targeted a lot, I would be very surprised if it was theme related. There’s many things you can do to help fight those bots and scripts, just a few I recall:
– admin user account should not be “admin”. bots try that account 1st thing and if they see the account is active, they’ll brute force try to guess the password. admin account should not be the name of the website, they try that 2nd.
– require captcha to login (but this hurts real users experience IMO)
– use a plugin to limit login attempts
I use a combination of wordfence plugin + cloudflare CDN.
Wordfence is neat, I don’t use premium edition, free one does a lot already, including some of the work a limit login attempts plugin would do. Supposedly, websites with wordfence communicate with wordfence services and if they spot an IP sweeping websites trying to login, they spread the word and it gets blocked. cloudflare helps cause they divert IPs with bad reputation and you can set it to high security (good in case of a big attack), which checks browser integrity, javascript execution and sometimes ask human interaction almost like captcha. They allow page rules so I keep the whole site with standard security but the wp-login page gets max.
Even with all of this, I still get targeted anyways. I know cause I have a rule to block IP for 30min if it tries to log in with “admin” and it triggers from time to time. Sometimes it comes in waves, specially after a big WP update cause bots go crazy over exploits discovered and they start scanning sites that didn’t update already. Just my 2 cents/experience, hope it helps, cheers!
a) make sure you clear all your caching after changing themes; make sure your CDN/cloudflare etc supports mobile devices
b) make sure you regenerate thumbnails to ensure mobile sized images actually exist
c) use a plugin like ‘limit login attempt’s to stop people from trying to guess your password for WordPress; make sure you deleted your “admin” account and made the superuser some other name (e.g., anything other than ‘admin’ and not your site name like ‘planesadmin’ would be dumb!)
d) make sure you use Akismet for basic spam protection
e) consider other security “hardening” features (do google search for “WordPress Security Hardening”)
f) why would your WordPress self-hosted platform lock yourself out of your own admin account? Bizarre that your hosting provider turns off access to your WP admin — that isn’t nice.
Be sure to clear all caching on your website, CDN, cloudflare or whatever.
If your fonts load on desktop, but not mobile — might not be your issue as there should be no difference unless Cloudflare handles things differently for mobile devices (I don’t use CLoudflare as we have our own dedicated hardware).
Some other kind soul might have better answer.
See Cloudflare for help with setting CORS directive or ignore for fonts so they can be loaded “cross domain” — it’s a security feature.
Your fonts for the icons are in the font folder of theme; so you will need to upload that via FTP and make sure your FTP software has a setting to automatically detect text vs binary files (most do, some don’t).
However, if using Cloudflare that is more likely the issue.
Font is already in binary format (anything not a text file is a binary file – such as images, or font files).
@neotrope sir Can you please elaborate the steps. I dont know how to convert font icon to binary format and in which folder should I upload in theme?Also how can I set CORS directive to allow the font to be loaded remotely in Cloudflare?
Make sure you have uploaded your icon font for theme in binary format; also, if using a CDN/cloudflare/etc. make sure you have a CORS directive set up to allow the font to be loaded remotely -or- set your CDN/etc. to ignore fonts and let them be loaded locally from your site.
Thank you @Chris S – Got it working. It was the minification through Cloudflare! Now to work on a solution. You the man!
Hm.
okay, in my header ad box I have
desktop on (grey toggle); size 970×90
tablet portrait on (grey toggle); size auto
phone off (blue toggle > right)
my code looks the same –
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 2015 Responsive States -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-XXXXXXXXXXXXXXXXXX"
data-ad-slot="XXXXXXXXXXXXX"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
So, it might be something funky like a minification setting or a “java optimization” setting in your Cloudflare, WPEngine — maybe there is a setting there to “ignore” a specific block of code?
I would probably turn OFF one or both of those if you are able to see if maybe they are “re-writing” the javascript for some oddball reason. “Re-writing” — such as scripts that minify, move, re-write javascript can sometimes break the simplest thing if they can’t parse “the syntax” or the “locale” of the code for some odd reason. I ran into this with mod_pagespeed with javascript optimizations — just turned it all off !
-
This reply was modified 11 years by
simchris.
Hello again,
Been using Newmag since December 2014. Love the theme! Just have one recent problem.
I’ve gone back to using an adsense leaderboard above the menu with header style #3. http://bit.ly/1AOikBD
After three (3) days there is still no ads displaying.
When I use the Google Adsense troubleshooting guide, it says I should be able to see the entire adsense google code snippet in source. However, when I look at source, the adsense code is missing and all that is visible is the call for the script. http://screencast.com/t/IzORd9qMFzw
This is a persistent issue. It hasn’t been a problem until now because I had local banner ads in there to use.
I can not get google adsense to appear there and this is important to fix. I have a complicated setup and any number of variables could be effecting it. I use Cloudflare, WPEngine, the Themes aggressive speed modifications/custom ad engine and any number of WP plugins are all likely candidates for interference.
I have tried to paste the code directly into the theme panel, no effect.
I have tried using AdRotate to show the ad, no effect.
I DO have google adsense in other places on my site and that is working ok. I have two search bars, one adsense in inline ads and one adsense in article bottom ads. These are currently working.
I would much appreciate some special attention to this issue. Thank you.
Alin – I had used Minify JS option in cloudflare and that’s why it was giving this error but that feature in cloudflare is really helpful as it compresses the JS files as well as store them in Cache
Could you please forward my concern to developer that your theme shouldn’t throw an error while using Minify JS in cloudflare. I don’t think there are many changes required to make sure theme doesn’t break when Minify JS is enabled in Cloudflare.
Thanks
i think i find the solution!
hi lucian
i empty all caches and purge files (using cloudflare free), then disabled tagDiv Speed Booster and super cache. but still continue the problem.
I have done that but still got problem. I am using cloudfront.net of amazon.
If you updated from WP4 to WP6 you need to reset your home page by
a) importing old settings per the upgrade docs
b) some modules changed – it’s a NEW theme – so you need to change them.
c) remember to clear/reset all your cache/CDN/cloudflare whatever to be sure you’re loading the new CSS/JS properly.
e) check your console (F12) for errors in Chrome or IE to see problems from plugin conflicts or other.
-
This reply was modified 11 years by
simchris.
UPDATE:Jah Live Radio is an online internet music station that plays all the hottest reggae and dancehall music straight from Jamaica 24/7/365.https://jahliveradio.com
We have finish design/optimization our site and with out the theme speedbooster i was able to fix all those important issues under the hood with cloudflare/speedbooster pack plugin via worldpress.
Google pagespeed results :https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fjahliveradio.com%2F&tab=mobile
GTmetrix :http://gtmetrix.com/reports/jahliveradio.com/kBQTuZkg
Finally the less stuff on your site the better your score will be and the faster your site will be as well..
Make sure you upload the font folder in binary mode via FTP;
Make sure you have a CORS setting if loading the theme icon font via a CDN, Cloudflare, etc. and/or refresh/release/reset/clear any CDN type stuff (caching).