Email is out to you guys.
Tried both of your suggestions. Would be great to find the “delinquent”. Greetings
Hi Radu! Yeah felt the same but allow url is now activated. Still not working.
http://cherrykoks.de/findini.php
What do you think about this code :
http://cherrykoks.de/wp-content/themes/Newspaper/images/no-thumb/art-big-1col.png inside firebug? No thumb? Is this correct?
ok -the warning is deleted through php.ini, but still blank thumbnail.
-
This reply was modified 11 years by
Cherry.
Ok I tried it again
this is how it looks like:
-play button is there.
– but still no thumbnail of the video. (just white blank field)
Post type: Video
Featured Video: inserted link
Any Idea why this is not showing?
Thanks in advance for the hint!
Also get this when I click publish
Warning: get_headers(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /kunden/323925_31275/cherrykoks/wordpress/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php on line 109
Warning: get_headers(): This function may only be used against URLs in /kunden/323925_31275/cherrykoks/wordpress/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php on line 109
Warning: Cannot modify header information – headers already sent by (output started at /kunden/323925_31275/cherrykoks/wordpress/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php:109) in /kunden/323925_31275/cherrykoks/wordpress/wp-admin/post.php on line 235
Warning: Cannot modify header information – headers already sent by (output started at /kunden/323925_31275/cherrykoks/wordpress/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php:109) in /kunden/323925_31275/cherrykoks/wordpress/wp-includes/pluggable.php on line 1121
-
This reply was modified 11 years by
Cherry.
Yes thank you anyways. This topic can be closed by the way
I don’t really know what you’re talking about Steven.
Yes, the site was temporary down because of a syntax error while trying add a code like this: http://triangle717.wordpress.com/2014/06/04/enabling-the-if-modified-since-header-on-wordpress-org/
but site is working after deleted code again- also from mobile and logged out. So I don’t know what’s the point here.
seem you just playing around with code and the theme and not serious about making a website for people to visit..i just find it weird thatโs all
Aha, if that’s what you’re thinking…. if I wouldn’t care I wouldn’t ask the whole stuff.
Guess it’s besser to ask nothing here, I said from the beginning that I’m no professional and new to all this.
Well whatever I’m out.
Ok got response and they don’t support.
They say I have to put in htaccess:
> Header unset Last-Modified
was wondering if this is really important because feedthebot says:
“If a search engine crawler sees a web page status code of 304 it knows that web page has not been updated and does not need to be accessed again.”
And I mean, it would be quite bad if your site wouldn’t be crawled anymore.
Or will googlebot still do this?
Hey Chris, I also checked the if modified since check, and feedthebot.com is telling me different things.
How can I make sure, that the date is correct,
Check 1 says: correct date (today) Last-Modified: Wed, 13 Aug 2014 18:21:29 GMT
(using http://cherrykoks.de)
Check 2 says: Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
I’m a litte bit confused ๐
Is it importan to use http? If I use just the domain name – I also get the second result.
thank you – I’ll do that.
After all, I’m fed up with all this, will try to optimize these last things (best as I could p.e minify the main css) and then focus on another things. (as you maybe notice I’m to focused in that)
sorry for all my questions by the way. I’m pretty new to this.
Has anyone a suggestion for better Mobile Speed?
https://developers.google.com/speed/pagespeed/insights/?url=cherrykoks.de
already minified these- and still not good enough – on desktop it’s “acceptable”
http://gtmetrix.com/reports/cherrykoks.de/MAxHG3vb
Was thinkin’ about to combine the 3 css files into 1 – (p.e everything in stylesheet.css) but don’t know how where to change the “calls” for html. (which file and which code there? )
Is it useful to combine? The internet community is torn about that issue.
-
This reply was modified 11 years by
Cherry.
Ok FYI if interested, I reinstalled again yesterday because of the things Steven told me.
Well Chris- I still use the W3 Cache (page only) and wrote the rest of .htaccess by myself, like u posted in another thread. (little bit proud on myself that it did not crash ๐ )
Is everything ok with that or have any other suggestion?
See my current htaccess here:
# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} =on
RewriteRule .* - [E=W3TC_SSL:_ssl]
RewriteCond %{SERVER_PORT} =443
RewriteRule .* - [E=W3TC_SSL:_ssl]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* - [E=W3TC_ENC:_gzip]
RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
RewriteRule .* - [E=W3TC_PREVIEW:_preview]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =""
RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wptouch_switch_toggle) [NC]
RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" -f
RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" [L]
</IfModule>
# END W3TC Page Cache core
# 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
# 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"
</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>
# pass the default character set
AddDefaultCharset utf-8
# BEGIN Keep-Alive
<ifModule mod_headers.c>
Header set Connection keep-alive
</ifModule>
# END Keep-Alive
#BEGIN GZIP
<IfModule mod_deflate.c>
<filesMatch "\.(js|css|html|php)$">
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
#END GZIP
#BEGIN CF ALLOW
Allow from 2400:cb00::/32
Allow from 2606:4700::/32
Allow from 2803:f800::/32
Allow from 2405:b500::/32
Allow from 2405:8100::/32
#END CF ALLOW
As you can see I had to add the keep-alive code and other stuff like gzip- because otherwise GTMetrix would complain about that.
http://gtmetrix.com/reports/cherrykoks.de/4DKTK3Af I guess I can not influence the the both points about cloudflare?
The only thing I’m little bit confused about, is the fact that the mentioned code
foreach ($this->styles_for_footer as $style_id => $style_src) {
echo "<link rel='stylesheet' id='" . $style_id . "-css' href='" . $style_src . "?ver=" . $current_theme_version . "' type='text/css' media='all' />\n";
in the booster plugin causes my strings. Can I change that?
And:
in the Pagespeed guide from tagdiv I read this:
The plugin will move the theme and recommended plugins js and css at the page bottom. If you have other plugins installed you have to modify the Speed Booster plugin file so it will also move those files at end of the page. In the next section you will learn how to accomplish this.
4.2 To get the list of registered css and js add the following code at the end of the functions.php file:
function td_inspect_scripts() {
global $wp_scripts, $wp_styles;
echo ‘registered scripts<br>’;
foreach ($wp_scripts->queue as $handle) {
echo $handle . ‘ | ‘ . $wp_scripts->registered[$handle]->src . ‘<br>’;
}
echo ‘registered styles<br>’;
foreach ($wp_styles->queue as $handle) {
echo $handle . ‘ | ‘ . $wp_styles->registered[$handle]->src . ‘<br>’;
}
}
add_action( ‘wp_print_scripts’, ‘td_inspect_scripts’ );
SpeedBooster plugin ist runnin as you know, do I have to change that as advised?
The sentence with “If you have other plugins installed you have to modify plugin so it will also move those files”
Other plugins means = every plugin I’m using? No problem to add this code to functions.php – just wanna make sure if this is right.
CF is running again ๐ but any resolution for this:
http://gtmetrix.com/reports/cherrykoks.de/h008RXQu
“specify cache validation” and “Specify a Vary: Accept-Encoding header”
this is coming from CF Javascript.
foreach ($this->styles_for_footer as $style_id => $style_src) {
echo "<link rel='stylesheet' id='" . $style_id . "-css' href='" . $style_src . "?ver=" . $current_theme_version . "' type='text/css' media='all' />\n";
I think this one right here in the td-speed-booster.php is causing the strings.
When I deactivate the plugin- I have no strings.
Any resolution to avoid that right here?
Wow, I’m pissed right now.
If I reinstall everything and start from zero, I will have to activate the speedbooster plugin again, and when I do- the strings are coming back.
I’m not getting ahead with this crap -.-
I even don’t have categories installed – that’s weird. These are old categories from my last installation – and I deleted all from the FTP oO
Which link do you use?
We can’t find it.
In German it looks good.
-
This reply was modified 12 years by
Cherry.
well ok check this out: http://gtmetrix.com/reports/cherrykoks.de/dDXZBMi6
The Problem was: the speedbooster plugin
My friend says: the strings got messed up through the speedbooster plugin- it’s now deactivated, but async is running…
The fonts: the “commenting out” thing in the functions.php had to be modified in my case. But looks good now.
Wow, I’m so relieved right now.
Now I can start with CDN ๐
Hey Steven
nice to read you, after my pal is making it stable
I will return to Cloudflare I guess
(I’m pro now in installing it) ๐ and that’s a fact. But before I turn on CF – I want to clear the things.
yeah you’re right – I know that, but it’s frustrating when you read how to solve the things, and you try- and they do not work for you.
Well a good friend of mine is IT Specialist, and he is now checking the page. (although he is not familiar with wordpress.)
Looks like he found a resolution for the strings, although he says that the speedboster plugin is causing the strings….
He is also trying to find out how to solve this font problem.
btw: he tried as described to comment out the fonts- and the result was (like me yesterday) that the functions.php crashed.
can be closed.
Got this wrong this is the right GT Metrix report: http://gtmetrix.com/reports/cherrykoks.de/eGTKZwey
Well the commenting out like here:
http://screencast.com/t/AJFofBi3Ym
did not work for me, when I did this – I got a syntax error.
my googlefonts section in the functions.php looks like this:
//google fonts
if ((defined('TD_DEPLOY_MODE') and (TD_DEPLOY_MODE == 'demo' /*or TD_DEPLOY_MODE == 'dev' */)) or defined('TD_SPEED_BOOSTER')) { //on demo and dev we load only the latin fonts
//modify this collection if you want to optimize the fonts loaded
//collection url -> : http://www.google.com/fonts#ReviewPlace:refine/Collection:PT+Sans:400,700,400italic|Ubuntu:400,400italic|Open+Sans:400italic,400|Oswald:400,700|Roboto+Condensed:400italic,700italic,400,700
wp_enqueue_style('google-font-rest', td_global::$http_or_https . '://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|Ubuntu:400,400italic|Open+Sans:400italic,400|Oswald:400,700|Roboto+Condensed:400italic,700italic,400,700'); //used on menus/small text
}
else {
$td_user_fonts_list = array();
$td_user_fonts_db = td_util::get_option('td_fonts');
if(!empty($td_user_fonts_db)) {
foreach($td_user_fonts_db as $td_font_setting_key => $td_font_setting_val) {
if(!empty($td_font_setting_val) and !empty($td_font_setting_val['font_family'])) {
$td_user_fonts_list[] = $td_font_setting_val['font_family'];
}
}
}
if(!in_array('g_438', $td_user_fonts_list)) {//'g_438', //Open Sans
wp_enqueue_style('google-font-opensans', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic'); //used on menus/small text
}
if(!in_array('g_617', $td_user_fonts_list)) {//'g_617', //Ubuntu
wp_enqueue_style('google-font-ubuntu', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic'); //used on content
}
if(!in_array('g_453', $td_user_fonts_list)) {//'g_453', //PT Sans
wp_enqueue_style('google-font-pt-sans', td_global::$http_or_https . '://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic&subset=latin,cyrillic-ext,latin-ext,cyrillic'); //used on content
}
if(!in_array('g_445', $td_user_fonts_list)) {//'g_445', //Oswald
wp_enqueue_style('google-font-oswald', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Oswald:400,300,700&subset=latin,latin-ext'); //used on content
}
if(!in_array('g_521', $td_user_fonts_list)) {//'g_521', //Roboto
wp_enqueue_style('google-roboto-cond', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Roboto+Condensed:300italic,400italic,700italic,400,300,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic'); //used on content
}
if(!in_array('g_639', $td_user_fonts_list)) {//'g_639', //Vollkorn
wp_enqueue_style('google-vollkorn', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Vollkorn:400italic,700italic,400,700'); //used on quoates classic
}
}
//add the google style link for fonts used by user
$td_fonts_css_files = td_util::get_option('td_fonts_css_files');
if(!empty($td_fonts_css_files)) {
wp_enqueue_style('google-fonts-style', td_global::$http_or_https . $td_fonts_css_files);
}
I placed the Comment out before : //google fonts and after 00,700|Roboto+Condensed:400italic,700italic,400,700′); //used on menus/small text
}
thank Lord I made a backup ๐
yes I did, I can click via w3 cache (includes Cloudflare extension) “empty all caches” or empty all caches except CF- I also purged the cache on the CF Cpanel and also the single file.
Any idea why I still have query strings although I added your code?
Can’t find a resolutin for this. ๐
Ok Comment out = deleting them from the functions.php and choosing the font in my theme panel like -> font family: Georgia, Times – right?
Nothing else to do?
Would like to start with content, but still hangin’ with optimizing stuff, grinds my gears ๐
are these websafe?
-
This reply was modified 12 years by
Cherry.
