Search Results for 'cookie law'

    No search results were found in Documentation!

Results from the Forum
MattiaVe
Participant
#0

Hi friends, as you know we have in Italy a recent law that undertakes to make an opening message to inform visitors about cookies of the site. In previous theme we used a plug in that generated a pop-up.
Now we are installing your Newspaper theme, so we ask you how is better:
is there an expect function in the theme for these function?
do we need a plug in (pop up)?
in that case, which you recommend?
Thank you very much,
all the best

bestword1
Participant
#0

Not an issue with the theme but more a question for the developers/community: what’s your preferred caching setup for Newspaper? What do tagDiv run or recommend as an ideal setup? And has anyone experienced random downtime using WP Super Cache?

I’d used WP Super Cache in the past but had issues with my site going offline, which I tracked down to the plugin (although I couldn’t tell why). W3 Total Cache is my favourite caching plugin but isn’t approved for use with Newspaper, and as such has caused me issues with the newspaper dashboard (wiping settings).

So I’m back to WP Super Cache, and the random downtime has returned. Jetpack reports the site went down 6 times in one day, for between 5–13 minutes. Has anyone else experiences this? Google Search console doesn’t seem to show any connectivity errors, but the downtime is so quick I’m not sure it would. I have on occasion been able to confirm the site is actual down, so it doesn’t seem to be a false positive from Jetpack.

Other plugins we run are:

— Akismet
— Autoptimize
— CloudFlare
— Code Embed
— Contact Form 7
— Cookie Law Info
— Custom Facebook Feed
— Duplicate Post
— Google AdSense
— Jetpack
— Limit Login Attempts
— Mailchimp
— Regenerate Thumbnails
— Remove query strings from static resources
— Revolution Slider
— Simple Local Avatars
— tagDiv Mobile Theme
— tagDiv Social Counter
— tagDiv Speed Booster
— Use Google libraries
— Wordfence Security
— WP Smush
— WP Super Cache
— WP-Optimize
— WPBakery Visual Composer
— Yoast SEO

Could any of these be conflicting? There are a few of these that offer caching features.

Interested to hear other Newspaper users’ thoughts.

phoenix86to
Participant
#0

Hi!

I have a wordpress blog, self-hosted, on my domain.
First of all i give you some info about the configuration of the website:

Theme: Newspaper

Plugins:

a3 Lazy Load
AdSense In-Post Ads
Akismet
Ban Hammer
Contact Form 7
Cookie Law Info
EWWW Image Optimizer
Instant Articles for WP
Jetpack by WordPress.com
Posts for Page Plugin
Revolution Slider
tagDiv Social Counter
tagDiv Speed Booster
Tapatalk for WordPress
TinyMCE Advanced
WP-Optimize
WPBakery Visual Composer
Yoast SEO
YouTube

I have a real issue with the facebook sharing of my posts. Example:

http://www.alfaromeoblog.it/vendite-alfa-giulia-partenza-urlo/

Facebook developers page states the following:

Inferred Property
The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.
Codice di risposta non corretto
URL returned a bad HTTP response code.
Proprietà necessaria mancante
The ‘og:type’ property is required, but not present.
Inferred Property
The ‘og:url’ property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property
The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.
Parser Mismatched Metadata
The parser’s result for this metadata did not match the input metadata. Likely, this was caused by the data being ordered in an unexpected way, multiple values being given for a property only expecting a single value, or property values for a given property being mismatched. Here are the input properties that were not seen in the parsed result: ‘og:locale:locale, og:type, og:title, og:site_name, fb:app_id, fb:pages’

But the post has been created just like the next one (http://www.alfaromeoblog.it/bolzano-mano-armata/). As soon as I create a post, i add the main image as per wp settings, but it is skipped. And cannot understand why.
The fact is that, if i scrape again with the sharing debugger tool, it gets corrected.

Any hints?

thank you.

Catalin
tagDiv Staff

Hello ihora,

I have found your website through your other topics and I have checked your page source and I found some untested plugins, as you can see HERE -> http://screencast.com/t/zuQyclcc Please try my advice that I gave you above because it is very important for good results. Please try to disable all the active plugins, leave just Visual Composer and WP Super cache activated and install ONLY the plugins that come bundled with our theme. Your untested plugins (Facebook comments, Cookie Law Info, The Events Calendar,Jetpack) could interfere with the theme and WP super cache and might cause this kind of issue. I suppose that your problem come from this. Please trying this advice and if your problem persists after this, please let us know.

Thank you for your understanding!

gmaio
tagDiv Member

Hi guys and thank you for your answers.

@Chris
: I did not mean to merge the plugins CSS and/or JS but rather to make “local” their calls that are made in every site page header. In other terms, I’d like to copy these resources (CSS and JS) locally to my server filesystem and call them from there to avoid the TCP/IP delay overhead. I have already tried commenting the wp_head() and including them straight forward by their local paths but this approach causes malfunctioning to the page load. There is something of “dinamic behaviour” of wp_head() that prevents this approach to work successfully. But what?


@Andrej
: I’ve deeply read the Speed Booster approach and I’ve tried it, firstly getting the blocking resources names by means of Google Speed Insights tips. It reports that the above fold blocking resources are:


http://43b.60a.myftpupload.com/…-includes/js/jquery/jquery.js?ver=1.11.3
http://43b.60a.myftpupload.com/…s/jquery/jquery-migrate.min.js?ver=1.2.1
http://43b.60a.myftpupload.com/…e-law-info/js/cookielawinfo.js?ver=1.5.3
http://43b.60a.myftpupload.com/…-includes/js/underscore.min.js?ver=1.6.0
http://43b.60a.myftpupload.com/…wp-includes/js/backbone.min.js?ver=1.1.2
http://43b.60a.myftpupload.com/…udes/js/jquery/ui/core.min.js?ver=1.11.4
http://43b.60a.myftpupload.com/…es/js/jquery/ui/widget.min.js?ver=1.11.4
http://43b.60a.myftpupload.com/…/js/jquery/ui/position.min.js?ver=1.11.4
http://43b.60a.myftpupload.com/…udes/js/jquery/ui/menu.min.js?ver=1.11.4
http://43b.60a.myftpupload.com/…jquery/ui/autocomplete.min.js?ver=1.11.4
http://43b.60a.myftpupload.com/…-search/js/visualsearch.min.js?ver=4.4.2
http://43b.60a.myftpupload.com/…ultimate-search/js/main-pro.js?ver=4.4.2

http://43b.60a.myftpupload.com/…form-7/includes/css/styles.css?ver=4.3.1
http://43b.60a.myftpupload.com/…kie-law-info/css/cli-style.css?ver=1.5.3
http://43b.60a.myftpupload.com/…ultimate-search/css/square.css?ver=4.4.2
http://fonts.googleapis.com/…n+Sans%3A300%2C400%2C600%2C700&ver=4.4.2
http://fonts.googleapis.com/…%2C700italic%2C400%2C300%2C700&ver=4.4.2
http://fonts.googleapis.com/…%2C300%7COpen+Sans%3A400%2C300&ver=4.4.2
http://43b.60a.myftpupload.com/…assets/css/eventon_styles.css?ver=2.3.17
http://43b.60a.myftpupload.com/…/assets/fonts/font-awesome.css?ver=4.4.2
http://43b.60a.myftpupload.com/…ss-popular-posts/style/wpp.css?ver=3.3.3
http://43b.60a.myftpupload.com/…ekly-view/assets/wv_styles.css?ver=4.4.2
http://43b.60a.myftpupload.com/…assets/css/js_composer.min.css?ver=4.8.1
http://43b.60a.myftpupload.com/…ntent/themes/Newsmag/style.css?ver=2.3.5
http://43b.60a.myftpupload.com/…cific-rss-feed-menu/wp_cat_rss_style.css

But the code snippet at the ends of functions.php says on my theme dashboard that the registered script are:



gd_system_gritter | http://43b.60a.myftpupload.com/wp-content/mu-plugins/gd-system-plugin/js/jquery.gritter.min.js
common | /wp-admin/js/common.min.js
vc_accordion_script | http://43b.60a.myftpupload.com/wp-content/plugins/js_composer/assets/lib/vc_accordion/vc-accordion.js
admin-bar | /wp-includes/js/admin-bar.min.js
evo_wp_admin | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/assets/js/admin/wp_admin.js
dashboard | /wp-admin/js/dashboard.min.js
customize-loader | /wp-includes/js/customize-loader.min.js
plugin-install | /wp-admin/js/plugin-install.min.js
media-upload | /wp-admin/js/media-upload.min.js
thickbox | /wp-includes/js/thickbox/thickbox.js
utils | /wp-includes/js/utils.min.js
svg-painter | /wp-admin/js/svg-painter.js
wp-auth-check | /wp-includes/js/wp-auth-check.min.js
shortcode_generator | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/ajde/assets/shortcode_generator.js
backender_colorpicker | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/ajde/colorpicker/colorpicker.js
ajde_wp_admin | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/ajde/ajde-wp-admin.js
td_wp_admin | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin.js
td_wp_admin_color_picker | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin_color_picker.js
td_wp_admin_panel | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin_panel.js
td_edit_page | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_edit_page.js
td_wp_admin_demos | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin_demos.js
td_page_options | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_page_options.js
td_tooltip | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/tooltip.js
akismet.js | http://43b.60a.myftpupload.com/wp-content/plugins/akismet/_inc/akismet.js
as3cf-notice | http://43b.60a.myftpupload.com/wp-content/plugins/amazon-s3-and-cloudfront/assets/js/notice.min.js
registered styles
gd_system_gritter | http://43b.60a.myftpupload.com/wp-content/mu-plugins/gd-system-plugin/css/jquery.gritter.min.css
admin-bar | /wp-includes/css/admin-bar.min.css
evo_font_icons | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/assets/fonts/font-awesome.css
evo_wp_admin | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/assets/css/admin/wp_admin.css
newwp | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/assets/css/admin/wp3.8.css
thickbox | /wp-includes/js/thickbox/thickbox.css
colors | 1
ie | /wp-admin/css/ie.min.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
gd_system_admin_css | http://43b.60a.myftpupload.com/wp-content/mu-plugins/gd-system-plugin/css/admin.min.css
ajde_wp_admin | http://43b.60a.myftpupload.com/wp-content/plugins/eventON/ajde/ajde-wp-admin.css
evo_sin_wpadmin | http://43b.60a.myftpupload.com/wp-content/plugins/eventon-single-event/assets/style-wp-admin.css
google-font-ubuntu | http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic
td-wp-admin-td-panel-2 | http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/css/wp-admin.css
wp-color-picker | /wp-admin/css/color-picker.min.css
akismet.css | http://43b.60a.myftpupload.com/wp-content/plugins/akismet/_inc/akismet.css
au_backend_settings | http://43b.60a.myftpupload.com/wp-content/plugins/eventon-action-user/assets/au_styles_settings.css
aws-global-styles | http://43b.60a.myftpupload.com/wp-content/plugins/amazon-web-services/assets/css/global.css

As you can see, no one of the registered CSS and JS listed by functions.php curresponds to those found by Google Speed Insights! So that I don’t have any ID of CSS and/or JS to use to move their loading in the footer by means of td-speed-booster.php hacking.
What is wrong with that or what could be done instead?
Thanks in advance,
Giuseppe

  • This reply was modified 10 years by gmaio.
dartsworld
tagDiv Member

Sorry to keep updating this thread!

It would appear that it is possible due to the content that gets added to a page?

I tested this by creating a new page. When I add the following text, I get a title and bread crumbs:

Terms and Conditions

Welcome to our website. If you continue to browse and use this website, you are agreeing to comply with and be bound by the following terms and conditions of use, which together with our privacy policy govern Darts World Limited’s relationship with you in relation to this website. If you disagree with any part of these terms and conditions, please do not use our website.

The term ‘Darts World Limited’ or ‘us’ or ‘we’ refers to the owner of the website whose registered office is Darts World Limited, 2 The Glenmore Centre, Shearway Business Park, Pent Road, Folkestone, Kent. CT19 4RJ. Our company registration number is 9986331 . The term ‘you’ refers to the user or viewer of our website.

The use of this website is subject to the following terms of use:

The content of the pages of this website is for your general information and use only. It is subject to change without notice.
This website uses cookies to monitor browsing preferences. If you do allow cookies to be used, the following personal information may be stored by us for use by third parties.
Neither we nor any third parties provide any warranty or guarantee as to the accuracy, timeliness, performance, completeness or suitability of the information and materials found or offered on this website for any particular purpose. You acknowledge that such information and materials may contain inaccuracies or errors and we expressly exclude liability for any such inaccuracies or errors to the fullest extent permitted by law.
Your use of any information or materials on this website is entirely at your own risk, for which we shall not be liable. It shall be your own responsibility to ensure that any products, services or information available through this website meet your specific requirements.

If I add a further paragraph to it, I no longer get a title or bread crumbs??

gmaio
Participant
#0

Hi there,
I’ve seen that at every page request there are in the page header the following calls generated by wp_head():

<link rel='stylesheet' id='contact-form-7-css' href='http://43b.60a.myftpupload.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=4.3.1' type='text/css' media='all' />
<link rel='stylesheet' id='cookielawinfo-style-css' href='http://43b.60a.myftpupload.com/wp-content/plugins/cookie-law-info/css/cli-style.css?ver=1.5.3' type='text/css' media='all' />
<link rel='stylesheet' id='wpus-bar-css' href='http://43b.60a.myftpupload.com/wp-content/plugins/wp-ultimate-search/css/square.css?ver=4.4.2' type='text/css' media='all' />
<link rel='stylesheet' id='google_font_open_sans-css' href='http://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700&ver=4.4.2' type='text/css' media='all' />
<link rel='stylesheet' id='google_font_roboto_cond-css' href='http://fonts.googleapis.com/css?family=Roboto+Condensed%3A300italic%2C400italic%2C700italic%2C400%2C300%2C700&ver=4.4.2' type='text/css' media='all' />
<link rel='stylesheet' id='evcal_google_fonts-css' href='//fonts.googleapis.com/css?family=Oswald%3A400%2C300%7COpen+Sans%3A400%2C300&ver=4.4.2' type='text/css' media='screen' />
<link rel='stylesheet' id='evcal_cal_default-css' href='http://43b.60a.myftpupload.com/wp-content/plugins/eventON/assets/css/eventon_styles.css?ver=2.3.17' type='text/css' media='all' />
<link rel='stylesheet' id='evo_font_icons-css' href='http://43b.60a.myftpupload.com/wp-content/plugins/eventON/assets/fonts/font-awesome.css?ver=4.4.2' type='text/css' media='all' />
<link rel='stylesheet' id='wordpress-popular-posts-css' href='http://43b.60a.myftpupload.com/wp-content/plugins/wordpress-popular-posts/style/wpp.css?ver=3.3.3' type='text/css' media='all' />
<link rel='stylesheet' id='evo_wv_styles-css' href='http://43b.60a.myftpupload.com/wp-content/plugins/eventon-weekly-view/assets/wv_styles.css?ver=4.4.2' type='text/css' media='all' />
<link rel='stylesheet' id='js_composer_front-css' href='http://43b.60a.myftpupload.com/wp-content/plugins/js_composer/assets/css/js_composer.min.css?ver=4.8.1' type='text/css' media='all' />
<link rel='stylesheet' id='td-theme-css' href='http://43b.60a.myftpupload.com/wp-content/themes/Newsmag/style.css?ver=2.3.5' type='text/css' media='all' />
<script type='text/javascript' src='http://43b.60a.myftpupload.com/wp-includes/js/jquery/jquery.js?ver=1.11.3'></script>
<script type='text/javascript' src='http://43b.60a.myftpupload.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
<script type='text/javascript' src='http://43b.60a.myftpupload.com/wp-content/plugins/cookie-law-info/js/cookielawinfo.js?ver=1.5.3'></script>
<script type='text/javascript' src='http://43b.60a.myftpupload.com/wp-includes/js/underscore.min.js?ver=1.6.0'></script>
<script type='text/javascript' src='http://43b.60a.myftpupload.com/wp-includes/js/backbone.min.js?ver=1.1.2'></script>
<script type='text/javascript' src='http://43b.60a.myftpupload.com/wp-includes/js/jquery/ui/core.min.js?ver=1.11.4'></script>
<script type='text/javascript' src='http://43b.60a.myftpupload.com/wp-includes/js/jquery/ui/widget.min.js?ver=1.11.4'></script>
<script type='text/javascript' src='http://43b.60a.myftpupload.com/wp-includes/js/jquery/ui/position.min.js?ver=1.11.4'></script>
<script type='text/javascript' src='http://43b.60a.myftpupload.com/wp-includes/js/jquery/ui/menu.min.js?ver=1.11.4'></script>
<script type='text/javascript' src='http://43b.60a.myftpupload.com/wp-includes/js/jquery/ui/autocomplete.min.js?ver=1.11.4'></script>
<script type='text/javascript' src='http://43b.60a.myftpupload.com/wp-content/plugins/wp-ultimate-search/js/visualsearch.min.js?ver=4.4.2'></script>

This causes a huge overhead at every page request so that, how can I can get these resources locally in order to reduce the TCP/IP connections and to encrease the site performances?
Moreover, some css and js load are not needed for every page so I could conditionally load these resources only where needed: how can I get this behaviour?
Thanks in advance for any appreciated help.

Giuseppe

arska
Participant
#0

Hi there,

I installed a plugin called “Eu Cookie Law” and it destroyed my main menu. Could you please tell me how to fix it?

I already uninstalled it, deleted it, updated the theme but it is not fixed:

Bug

Thanks!

Bogdan B.
tagDiv Staff

Hello,
I understand your situation but unfortunately the theme has no options for the EU cookie law so you will have to use plugins to achieve this. Here is a list of plugins you can try out: https://wpism.com/comply-eu-cookie-policy-google-adsense/ but keep in mind that they are not tested and we cannot assure their functionality. If you require further plugin implementation assistance you will have to hire a freelancer to help you out as time does not allow us to offer any custom work at the moment.
Thank you!

seosmart
tagDiv Member

Thanks Bogdan.


@Chris
no, in the european cookie law compliance you MUST block cookies of thirdy party. You need not only a banner who shows simply the policy.

simchris
tagDiv Member

Note also there are numerous cookie policy plugins which simply drop down or slide up a cookie policy notice at top or bottom margin of page to comply with European cookie policy law; this has been the case for several years now and not new. Most themes don’t include such function as it’s not a worldwide issue.

You might try looking in the wordpress.org plugin repository for any of the various plugins that do this for you and don’t require hacking the Adsense code.

seosmart
tagDiv Member

ok but if is it so, your theme don’t offer possibility to use correctly ads because the european cookie law wants we can block cookies. I have buyed this theme because i was sure i can do that with a simple shortcode.

seosmart
Participant
#0

Hi to all. I just installed the newspaper theme. I installed also a plugin (wp cookie privacy) to block script google adsense( european cookie law) with a shortcode but it doesn’t work in your theme.
Usually i use this:

[shortcode privacy block]
<script adsense>
[/shortcode privacy block]
but it does’nt work.

can you explain me how i can do that?
thanks

Ecrea
Participant
#0

Hi,

Sorry by my english in advance, I know isn’t good.

I have a really big problem that, for some reason, last days has increased a lot. My site shows me (and my colaborators) an error message 500. I know this is a server error and I talk with my hosting provider plenty of times but they ensure me that there is something wrong on my site that cause problems on server. I use a VPS2 so is a good hosting.

Probably the problem exists because a plugin or maybe it’s something wrong on my theme (I’d like to know if there are some cases like mine). I’d like a private support (via mail) and, if is needed, I’ll create an admin acces so you can enter on my site and see what’s happening on it, because right now is extremly difficult work with.

Just in case, I enumerate all plugins I have on my site, maybe one of them is known to be problematic with your theme:

Akismet.
Autoptimize.
better-wp-security.
cookie law info.
imsanity.
js-composer.
kk-star-rating.
regenerate-thumbnails.
shortocodes ultimate.
subscribes to comments reload.
social counter.
thumbnail upscale.
totalpoll.
twitter meta cards.
user rol editor.
Seo by yoast.
wp rocket.

Anybody can help me? Thanks!!

Alin [tagDiv]
tagDiv Staff

Hi,

Please check this topic and see if it helps – https://forum.tagdiv.com/topic/ad-settings-and-eu-cookie-law/

Thanks!

Xandr-Tech.de
Participant
#0

Hello dear community,

i have a problem with my cookie law info. I had always the solution of silktide.com

I had insert my code to the header.php of the newspaper themefile but nothing happens.

Please help me!!!

Best Regards
Xandr-tech.de

gfm1978
Participant
#0

Hi,

In Italy, following the European Cookie Law, is required to not install cookie before the user consent.

I’m using a plugin to do that but i’ve problem with adsense ads. I use the newspaper theme panel section to insert the ads, and as required by the “Cookie Blocker” plugin i wrapped the adsense code with special comments (COOKIE_POLICY_BEGIN, or END). The code is now like that:

<!–COOKIE_POLICY_BEGIN–><script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– Adsense2 –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”——-”
data-ad-slot=”——-”
data-ad-format=”auto”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script> <!–COOKIE_POLICY_END–>

I contacted the developer of the plugin because it doesn’t work. He analyzed the website and discovered that the theme was remomving the “Special comments”. He suggested me to use a plugin (like Quick adsense) to insert banner on my webiste and indeed using that the ads are blocked before the user consent.

I prefer to use the Newspaper Theme Panel to insert ads and not another plugin Can you help me ? Why the theme is removing the “special comments” ?

zlato
tagDiv Member

Hi Cris I really thank you ;). The easiest way is to use copy-paste :).
This was my first encounter with functions.php. Thanks for the helpful tips.

To protect the site I uses Wordfence. Do you have any advice.
My main problem is the slow background. I welcome any suggestion.

My plugins:
AdRotate by Arnan de Gans of AJdG Solutions – 3.11.7
Advanced Access Manager by Vasyl Martyniuk – 2.8.6
Calendarize it! for WordPress by Alberto Lau (RightHere LLC) – 3.4.2.60206
Web 2.0 Directory plugin by Mihail Chepovskiy – 1.9.5
Contact Form 7 by Takayuki Miyoshi – 4.2.2
Cookie Law Info by Richard Ashby – 1.5.3
Custom Sidebars by WPMU DEV – 2.1.0.2
Easy Social Share Buttons for WordPress by CreoApps – 3.1
CM Tooltip Glossary by CreativeMindsSolutions – 3.1.9
EWWW Image Optimizer by Shane Bishop – 2.5.0
WPBakery Visual Composer by Michael M – WPBakery.com – 4.6.2
Layered Popups by Halfdata, Inc. – 4.74
Magic Answers by Nicola Franchini – 1.3
MS Custom Login by Mignon Style – 0.8
Post Duplicator by Metaphor Creations – 2.5
Regenerate Thumbnails by Viper007Bond – 2.2.4
Simple Local Avatars by Jake Goldman, 10up – 2.0
Testimonials Showcase by Carlos Moreira – 1.2.3
Video Blogster Pro by Super Blog Me – 2.4.0
Wordfence Security by Wordfence – 6.0.15
Yoast SEO by Team Yoast – 2.3.4
WP Author Box Pro by phpbits – 2.0.4
WP Retina 2x by Jordy Meow – 3.4.6
WP Rocket by WP Rocket – 2.6.7
MailPoet Newsletters Premium by MailPoet – 2.6.15
MailPoet Newsletters by MailPoet – 2.6.16

Thomas
tagDiv Member

Hello Chris

Thanks for your advices.

I change all things your propose to us.

One thing I don’t understand is that in PageSpeed or GT
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.virtualmagie.org%2F
I always have the cache time end problem.

Here my htaccess content.
There is your code and so all files normaly have to be expired.

Other things :
I have W3 Total Cache but you don’t recomand it.
So I install the ZenCache Pro but it mess the site.
Finaly I used superCache and PHP optimization and compression seems to mess too and I was forced to delete it.
Note that our site is on a dedicated server.
So for waiting I activate the Falcon mode in Wordfence.

#WFIPBLOCKS - Do not remove this line. Disable Web Caching in Wordfence to remove this data.
Order Deny,Allow
#Do not remove this line. Disable Web Caching in Wordfence to remove this data - WFIPBLOCKS
#WFCACHECODE - Do not remove this line. Disable Web Caching in Wordfence to remove this data.
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
<IfModule mod_mime.c>
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
<IfModule mod_mime.c>
AddType text/html .html_gzip
AddEncoding gzip .html_gzip
AddType text/xml .xml_gzip
AddEncoding gzip .xml_gzip
</IfModule>
<IfModule mod_setenvif.c>
SetEnvIfNoCase Request_URI \.html_gzip$ no-gzip
SetEnvIfNoCase Request_URI \.xml_gzip$ no-gzip
</IfModule>
<IfModule mod_headers.c>
Header set Vary "Accept-Encoding, Cookie"
</IfModule>
<IfModule mod_rewrite.c>
#Prevents garbled chars in cached files if there is no default charset.
AddDefaultCharset utf-8

#Cache rules:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} on
RewriteRule .* - [E=WRDFNC_HTTPS:_https]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* - [E=WRDFNC_ENC:_gzip]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{HTTPS} off
RewriteCond %{QUERY_STRING} ^(?:\d+=\d+)?$
RewriteCond %{REQUEST_URI} (?:\/|\.html)$ [NC]

RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|wf_logout|wordpress_logged_in|wptouch_switch_toggle|wpmp_switcher) [NC]

RewriteCond %{REQUEST_URI} \/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)(.*)$
RewriteCond "%{DOCUMENT_ROOT}/wp-content/wfcache/%{HTTP_HOST}_%1/%2~%3~%4~%5~%6_wfcache%{ENV:WRDFNC_HTTPS}.html%{ENV:WRDFNC_ENC}" -f
RewriteRule \/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)(.*)$ "/wp-content/wfcache/%{HTTP_HOST}_$1/$2~$3~$4~$5~$6_wfcache%{ENV:WRDFNC_HTTPS}.html%{ENV:WRDFNC_ENC}" [L]
</IfModule>
#Do not remove this line. Disable Web caching in Wordfence to remove this data - WFCACHECODE
# BEGIN iThemes Security - Do not modify or remove this line
# iThemes Security Config Details: 2
# Enable HackRepair.com's blacklist feature - Security > Settings > Banned Users > Default Blacklist
# Start HackRepair.com Blacklist
RewriteEngine on
# Start Abuse Agent Blocking
RewriteCond %{HTTP_USER_AGENT} "^Mozilla.*Indy" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Mozilla.*NEWT" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^$" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Maxthon$" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SeaMonkey$" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Acunetix" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^binlar" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^BlackWidow" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Bolt 0" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^BOT for JCE" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Bot mailto\:craftbot@yahoo\.com" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^casper" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^checkprivacy" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^ChinaClaw" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^clshttp" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^cmsworldmap" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^comodo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Custo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Default Browser 0" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^diavol" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^DIIbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^DISCo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^dotbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Download Demon" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^eCatch" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EirGrabber" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EmailCollector" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EmailSiphon" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EmailWolf" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Express WebPictures" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^extract" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^ExtractorPro" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EyeNetIE" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^feedfinder" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^FHscan" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^FlashGet" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^flicky" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^g00g1e" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^GetRight" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^GetWeb\!" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Go\!Zilla" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Go\-Ahead\-Got\-It" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^grab" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^GrabNet" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Grafula" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^harvest" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^HMView" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^ia_archiver" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Image Stripper" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Image Sucker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^InterGET" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Internet Ninja" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^InternetSeer\.com" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^jakarta" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Java" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^JetCar" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^JOC Web Spider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^kanagawa" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^kmccrew" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^larbin" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^LeechFTP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^libwww" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Mass Downloader" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^microsoft\.url" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^MIDown tool" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^miner" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Mister PiX" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^MSFrontPage" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Navroad" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^NearSite" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Net Vampire" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^NetAnts" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^NetSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^NetZIP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^nutch" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Octopus" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Offline Explorer" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Offline Navigator" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^PageGrabber" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Papa Foto" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^pavuk" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^pcBrowser" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^PeoplePal" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^planetwork" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^psbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^purebot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^pycurl" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^RealDownload" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^ReGet" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Rippers 0" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^sitecheck\.internetseer\.com" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SiteSnagger" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^skygrid" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SmartDownload" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^sucker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SuperBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SuperHTTP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Surfbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^tAkeOut" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Teleport Pro" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Toata dragostea mea pentru diavola" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^turnit" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^vikspider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^VoidEYE" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Web Image Collector" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Web Sucker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebAuto" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebBandit" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebCopier" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebFetch" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebGo IS" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebLeacher" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebReaper" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebSauger" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Website eXtractor" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Website Quester" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebStripper" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebWhacker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebZIP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Wget" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Widow" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WPScan" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WWW\-Mechanize" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WWWOFFLE" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Xaldon WebSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Yandex" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Zeus" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^zmeu" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "360Spider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "AhrefsBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "CazoodleBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "discobot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "EasouSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ecxi" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "GT\:\:WWW" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "heritrix" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "HTTP\:\:Lite" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "HTTrack" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ia_archiver" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "id\-search" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "IDBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Indy Library" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "IRLbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ISC Systems iRc Search 2\.1" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "LinksCrawler" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "LinksManager\.com_bot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "linkwalker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "lwp\-trivial" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "MFC_Tear_Sample" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Microsoft URL Control" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Missigua Locator" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "MJ12bot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "panscient\.com" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "PECL\:\:HTTP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "PHPCrawl" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "PleaseCrawl" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "SBIder" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "SearchmetricsBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "SeznamBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Snoopy" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Sogou" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Steeler" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "URI\:\:Fetch" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "urllib" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Web Sucker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "webalta" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "WebCollage" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Wells Search II" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "WEP Search" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "XoviBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "YisouSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "zermelo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ZyBorg" [NC,OR]
# End Abuse Agent Blocking
# Start Abuse HTTP Referrer Blocking
RewriteCond %{HTTP_REFERER} "^https?://(?:[^/]+\.)?semalt\.com" [NC,OR]
RewriteCond %{HTTP_REFERER} "^https?://(?:[^/]+\.)?kambasoft\.com" [NC,OR]
RewriteCond %{HTTP_REFERER} "^https?://(?:[^/]+\.)?savetubevideo\.com" [NC]
# End Abuse HTTP Referrer Blocking
RewriteRule ^.* - [F,L]
# End HackRepair.com Blacklist, http://pastebin.com/u/hackrepair

<IfModule mod_rewrite.c>
RewriteEngine On

# Reduce Comment Spam - Security > Settings > System Tweaks > Comment Spam
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} /wp-comments-post\.php$
RewriteCond %{HTTP_USER_AGENT} ^$ [OR]
RewriteCond %{HTTP_REFERER} !^https?://(([^/]+\.)?virtualmagie\.org|jetpack\.wordpress\.com/jetpack-comment)(/|$) [NC]
RewriteRule ^.* - [F]
</IfModule>
# END iThemes Security - Do not modify or remove this line

## EXPIRES CACHING ##
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters collapse_whitespace
ModPagespeedEnableFilters remove_comments
ModPagespeedEnableFilters rewrite_images
ModPagespeedEnableFilters insert_dns_prefetch
</IfModule>

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

AddType text/javascript .js
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff

# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 2500000 seconds"
ExpiresByType image/jpeg "access plus 2500000 seconds"
ExpiresByType image/png "access plus 2500000 seconds"
ExpiresByType image/gif "access plus 2500000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds"
ExpiresByType text/css "access plus 700000 seconds"
ExpiresByType text/javascript "access plus 700000 seconds"
ExpiresByType application/javascript "access plus 700000 seconds"
ExpiresByType application/x-javascript "access plus 700000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
ExpiresByType font/truetype "access plus 2500000 seconds"
ExpiresByType font/opentype "access plus 2500000 seconds"
ExpiresByType application/x-font-woff "access plus 2500000 seconds"
ExpiresByType image/svg+xml "access plus 2500000 seconds"
ExpiresByType application/vnd.ms-fontobject "access plus 2500000 seconds"
</IfModule>
# END Expire headers

# BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
</filesMatch>
</IfModule>
# END Cache-Control Headers

<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>

jansena
Participant
#0

Hi, what is the best way to inform your visitors that you are using cookies?
I used the plugin ‘Cookie Law Info’ which is very nice, with a lot of nice settings, but it really slows down my website.

So I was wondering what the best way to display a cookie info bar?

simchris
tagDiv Member

FYI:
it’s against Google policy to “reload” a banner on a page with resize, hence why you can’t do the “drag browser” in to see the ad change. You have to launch a new “visit” at the size you test with to launch a new session cookie and “ad serving” for that “instance.” This is particularly and specifically for image-based ads or fixed-layout text-ads.

The *NEW* text-ads being developed by Google with rolling-slide animations via CSS3/Ajax, etc. may be able to resize with the viewport, but the way Google provides the “responsive adsense code” is to serve different code block PER VIEWPORT or BREAKPOINT.

Anybody really curious about this topic should read Google’s complete AdSense webmaster guidelines/requirements (“LAWS”) since they are really specific about that stuff.

Upshot: things work correctly if you resize your screen from wide to narrow, and the ad stays wide — it’s still the same session/cookie/ad unit. You would have to refresh AFTER you resize to get a new session/cookies/ad unit at the NEW size.

Just my input on this since I had to suffer this last year when we built our own responsive wordpress theme and had to do custom javascript to swap out the 300×200 to 250×250 for vertical ipad so it wouldn’t break the page layout.

Google is working on this stuff … but it’s still a bit newish. They were a bit late to the party on “responsive” stuff.

trejka
tagDiv Member

Hi, it’s working!
The problem was – “Cookie Law add on”. Now it’s ok.
THX
Bartek

Viewing 23 results - 26 through 48 (of 48 total)