Search Results for 'ssl'

Results from the Forum
simchris
tagDiv Member

Once you have ssl cert installed, you would likely add a rewrite rule to your htaccess file to gracefully direct old http links to https version. Talk to your hosting provider about activating mod spdy once you have https … And remember to test and update sitemap to ensure links point to https in sitemap, etc.

tenocation
tagDiv Member

Great information. Thanks a lot Christopher. I am going to take SSL certificate. Actually, i want to know this because of your first post on this thread about mod_spdy. Thanks anyways.

Regards,

simchris
tagDiv Member

Hi, mod_spdy is setup on the server; https is setup on your domain (Google “get SSL cert for my website”) or visit the SSL certificates section in your GoDaddy account if you use them for anything. You need to get SSL cert which is installed for your domain, this then allows your site pages to load via https (secure) vs http just like any ecom site or Amazon, GoDaddy, eBay, etc. The “signed” certificate provides some level of security in that a “signing authority” has verified you are who you say you are before issuing the certificate (your hosting provider may even sell SSL certs at discount; check their site).

Mod_spdy doesn’t do SEO or speed up normal http pages, only those loaded via https (secure). Hence “spdy” (short for “speedy”).

So:
1) get SSL cert for your site; this allows pages and content to load https vs http
2) check with your hosting provider on mod_spdy support which speeds up https so it’s not 10x slower than http

SSL and mod_spdy have nothing to so with the theme. SSL authenticates the website domain, not the content itself per se, although you would get a “warning” if some content is not loaded securely, like an external file not being loaded via SSL.

Hope that helps 🙂

  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
simchris
tagDiv Member

Also, anecdotal, smushit doesn’t work with SSL/https, so the ewwoptimizer is better choice if you can compile the correct binaries on server. I have not yet tested this, but was told this the other day as part of our overall testing for moving everything to SSL/https starting October 1 (coming up quick).

simchris
tagDiv Member

Ssl is implemented at you hosting co., you need ssl cert for your domain, then you load pages via https vs http. Were lucky we have our own server with it installed… Right now testing hookup with mod pagspeed weve been running since dec. typing on ipad, pardon punctuation.

  • This reply was modified 11 years by simchris.
tenocation
tagDiv Member

Hi Christopher, that’s really a nice thing to look at. I recently moved to Synthesis due to some bad experience with dreampress. They are saying they are the first one to implement mod_spdy.

I want to know from where can i start to implement SSL on this theme. Please provide some guidance.

Thanks

Lucian
tagDiv Staff

Hi,

Glad you dida nd sorry for the delay.
You can do it via css, use this in theme panel > custom css:

Use this for homepage, just change the height value as you like:

.home .td_block_slide .iosSlider-col-1, .home .iosSlider-col-1 .item, .home .td_block_slide .iosSlider-col-1, .iosSlider-col-1 .item .thumb-wrap .entry-thumb {
height: 300px !important;
}

Use this for the other pages:

.td_block_slide .iosSlider-col-1, .iosSlider-col-1 .item, .td_block_slide .iosSlider-col-1, .iosSlider-col-1 .item .thumb-wrap .entry-thumb {
height: 300px !important;
}

Thanks

  • This reply was modified 11 years by Lucian.
Radu
tagDiv Staff

Hi Christopher,
the jquery from google apis is loaded from the speedbooster plugin. Some time ago I changed the jquery path to use is_ssl() from wordpress http://screencast.com/t/RDuiivrSn0wr . Do you have the latest version? or is_ssl is not reliable?

In the next update I will change the html5shim to is_ssl and also bump up the jquery version to wordpress 4’s one.

simchris
tagDiv Member

Nice work! @mehedi
I had planned to do something like that for WP (for our WP sites, for same reason you did it) based on the work I did building that exact thing for our classic non-WP site … but ran out of time. Will try your plug when I circle back 🙂

(example of my version running on our business site; not available as WP plugin, but same idea: http://www.send2press.com/services/press-release-distribution.shtml)

Thanks for the shout out, too. I won’t be helping out any more this month beyond bug report/fixes which I’m concentrating on now.

I’m now dealing with implementation of mod_spdy with mod_pagespeed to allow site to run under SSL for Google’s new push for that (super annoying). I’ll have some info on that once we suffer all the inevitable calamities of doing something only 10 people seem to know how to do (sigh … ask your hosting co about mod_spdy and watch their head explode). 🙂

GREAT JOB!!!!

simchris
Participant
#0

Hi, folks
would it be possible to change the pull of jquery on Google from


<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js'></script>

to

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> 
or
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>

reason being is that we will be testing use of mod_spdy on the server to move all content to https due to Google’s plan to use secure connection as a page rank “signal” in SERPS, and so we’re having to look at doing this… basically loading everything on the site via SSL; and so external resources must be via SSL also to avoid the pop-up “not everything secure on page” or whatever it says these days.

I believe with the // usage Google automatically serves either http or https depending on the referrer.
(REF: https://developers.google.com/speed/libraries/devguide#jquery )

Probably the
http://html5shim.googlecode.com/svn/trunk/html5.js
could be addressed in same way.

I can obviously change this in the templates manually, but thought it would be “worth a look” for those running ecom sites who need “everything https” for local payment forms, and others who are looking to go full SSL for Google “bleeding edge” SEO signals (sigh).

Lucian
tagDiv Staff

Hi,

Please use this custom css for title font:

@media (max-width: 767px){
.iosSlider .td-sbig-title-wrap a, .iosSlider .item .td-sbig-title-wrap a {
line-height: 15px;
}

.td_normal_slide .td-sbig-title-wrap .td-sbig-title, .td-sbig-title-wrap a {
font-size: 13px !important;
}
}

Regarding the view count I have tested it and found no problem with this, note that this post was just updated: http://screencast.com/t/mttQbF17n9I9
Please make sure you deactivate all plugins and check if this is still happening, this may be due to some plugins.

Thanks

simchris
Participant
#0

Hi, folks
for the next update to theme can you properly compress/optimize/smush/crunch the default images used by theme such as the header/shadows ? These consistently come up in PageSpeed Insights as bloated.

e.g.,
Losslessly compressing /images/header/bg-shadow-top.png could save 854B (90% reduction).
Losslessly compressing /images/header/bg-shadow.png could save 843B (87% reduction).

Thanks. Sorry to be a pain about that 🙂

Shashank Shekhar
tagDiv Member

Great dude, all the best for your website!
I don’t combine images using css sprites, they are as they were by default. Cloudflare is great, for now I’m using it anyway but I’ve planned to buy cdn and ssl cert, once I start earning. 😀

And I and you have kinda same type of website. My 21 days old and yours?

Lets compete in that (if you can help me in seo) 😛

hummelmose
Participant
#0

Hi there.

I have big problems with the banner ad on mobile.

I use both Google ads and doubleclick, but they don’t load very often on mobile sites.

We use Revive Adserver, and it works flawlessly on other sites. And image served ads also works fine, but in the header ad space its bad on mobile.

Any ideas. Try http://www.rec.dk on a mobile device.

(remember that sometimes it works)

petroski
tagDiv Member

Hello,

Apologies, I forgot to provide a link to the web site, here it is.

http://www.rosslandmuseum.ca/

If you right click on the images in the Big Slider and select “view image”, you’ll see that the original full image is called, not a resized thumbnail.

Thanks,
Peter

simchris
tagDiv Member

You might have a wait. Not everybody who is on the forum has time to fix your server for you. Your first chore would be to read through all the posts in the PageSpeed topic where many folks, including myself, have provided a wealth of FREE advice on how to optimize your server, pagespeed, caching, htaccess and set your server settings properly for gzip/deflate, time to live headers, etc.

The “tagdiv speed booster” plugin is only designed to help with issues of loading js and css files in the most efficient manner for the theme; it doesn’t do anything for your server side caching, account speed on the net (response time), gzip/deflate, expiration headers, or image compression. Put another way it’s not a “config file” for your server, it’s preset to speed up the theme, rather seamlessly in most cases. While you can add to it, if you need to have an additional plugin or something “optimized” for loading when theme pages load, it will NOT fix issues on your server or the content you upload.

Advice would be to first optimize your site content such as using GTMetrix to check your site for server side elements which need to be addressed FIRST, then move on to elements which can be addressed via htaccess, optimize images, and the like. Do all your checks with mod_pagespeed off as this caches elements while you’re working on things. Set the tagdiv speed booster last (only edit it if you understand what you’re doing); then when you have a decent setup, then switch on mod_pagespeed.

However, as noted in the PageSpeed topic, gzip/deflate, expires headers, and the like are good for 20 points all alone. Most common issue if your score is below 80 desktop.

Also, remember this forum provides theme support from the developer, not server management support. You need to learn to manage your server and hosting setup, and this is necessary regardless of what theme you run. So, unless you address those issues first, then the elements to fix in WordPress will not be very effective.

I’m sure Marius will be happy to help with questions on the td_speedbooster plugin included with the theme, but you really should read through the PageSpeed topic since I’ve provided a wealth of advice, and how-to elements there which are critical to optimizing your site — including my own mod_pagespeed settings!

  • This reply was modified 11 years by simchris.
Lucian
tagDiv Staff

Hi,

Please use this custom css in theme panel > custom css filed to remove the big sliders arrows and also for the normal slider arrows:

.iosSlider.td_block_big_grid .td-icon-left, .iosSlider.td_block_big_grid .td-icon-right, .iosSlider .prevButton, .iosSlider .nextButton {
display: none !important;
}

Hope this helps!

Thanks

tenocation
Participant
#0

I tried many times to clear render blocking css and JS but not successful. I hope someone here will help me out.

Here is my speedbooster.php file

<?php
/*
	Plugin Name: tagDiv speed booster
	Plugin URI: http://tagdiv.com
	Description: Speed booster for Newspaper theme - It moves the styles and all the scripts of the theme to the bottom. It also activates internal theme optimizations for better speed.
	Author: tagDiv
	Version: 2.5
	Author URI: http://tagdiv.com
*/

/*
 * 2.6  - fixed rendering bug on the loading of the page
 * 2.5  - code improvements, newspaper 4 compatibility
 *      - makes most of the javascript files use defer parsing
 *      - better compatibility with revolution slider
 * 2.4 - updated jquery version
 *     - support for https
 * 2.3 - fixed warnings when trying to move javascript files that are not registered
 */

class td_speed_booster {

    var $load_contact_form_7 = '';
    var $load_google_fonts = '';

    var $styles_for_footer = array();

    var $async_js_scripts = array(
        'contact-form-7',
        'bbpress',
        'woocommerce',
        'site',
        'devicepx',
        'js_composer_front'
    );

    function __construct() {
        add_action('wp_enqueue_scripts', array($this, 'enqueue_scripts_hook'), 100);
        add_action('wp_footer', array($this, 'wp_footer_hook'), 15);
        add_action('wp_head', array($this, 'wp_head_hook'), 15);

        define('TD_SPEED_BOOSTER' , 'v2.5');
    }

    function enqueue_scripts_hook() {
        global $wp_scripts;

        //$this->move_js_to_footer('bp-legacy-js');

        //detect revmin - revolution slider and do not move jquery
        if( !is_admin() and !isset($wp_scripts->registered['revmin'])){
            if (is_ssl()) {
                $td_protocol = 'https';
            } else {
                $td_protocol = 'http';
            }

            wp_deregister_script('jquery');
            wp_register_script('jquery', ($td_protocol . '://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js'), true, '1.11.0', true);
            wp_enqueue_script('jquery');
        }

        //move styles
        $this->move_style_to_footer('bbp-default-bbpress');  //bpress old
        $this->move_style_to_footer('bbp-default');  //bpress

        $this->move_style_to_footer('contact-form-7');
        $this->move_style_to_footer('td-bootstrap');
        $this->move_style_to_footer('td-theme');

        $this->move_style_to_footer('google-font-rest');
        $this->move_style_to_footer('woocommerce_frontend_styles');

        //jetpack lost styles
        $this->move_style_to_footer('jetpack-subscriptions');
        $this->move_style_to_footer('jetpack-widgets');

        $this->move_js_to_footer('themepunchtools');
        $this->move_js_to_footer('revmin');

        //bbpress
        //remove_action( 'bbp_head', array($BBP_Default, 'head_scripts') );
    }

    function wp_footer_hook() {

        $current_theme_version = '';

        if (defined('TD_THEME_VERSION')) {
            //get the theme version for style
            $current_theme_version = TD_THEME_VERSION;

            //on demo mode, autogenerate version hourly + day
            if (TD_DEPLOY_MODE == 'demo') {
                $current_theme_version = date('jG');
            }
        }

        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";
        }
    }

    function wp_head_hook() {
        if (defined('TD_THEME_VERSION')) {
            echo '<style>body {visibility:hidden;}</style>';
        }
    }

    function move_style_to_footer($style_id) {
        global $wp_styles;
        if (!empty($wp_styles->registered[$style_id]) and !empty($wp_styles->registered[$style_id]->src)) {
            $this->styles_for_footer[$style_id] = $wp_styles->registered[$style_id]->src;
            wp_deregister_style($style_id);
        }
    }

    function move_js_to_footer($js_id) {
        global $wp_scripts;
        if (isset($wp_scripts->registered[$js_id])) {
            wp_enqueue_script($js_id, ($wp_scripts->registered[$js_id]->src), '', $wp_scripts->registered[$js_id]->ver, true);
        }

    }

    function async_js_hook($url) {

        //check to see if we have js
        if (strpos( $url, '.js' ) === false) {
            return $url;
        }

        if ($this->strpos_array($url, $this->async_js_scripts) === false) {
            return $url;
        } else {
            return "$url' defer='defer";
        }

    }

    private function strpos_array($haystack_string, $needle_array, $offset=0) {
        foreach($needle_array as $query) {
            if(strpos($haystack_string, $query, $offset) !== false) {
                return true; // stop on first true result
            }
        }
        return false;
    }

}

new td_speed_booster();

And here is my function generated file

registered scripts
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.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
itsec_file_change_warning_js | http://mydomain.com/wp-content/plugins/better-wp-security/modules/free/file-change/js/admin-file-change-warning.js
itsec_strong_passwords | http://mydomain.com/wp-content/plugins/better-wp-security/modules/free/strong-passwords/js/strong-passwords.js
devicepx | http://s0.wp.com/wp-content/js/devicepx-jetpack.js
wpuf-subscriptions | http://mydomain.com/wp-content/plugins/wp-user-frontend-pro/assets/js/subscriptions.js
wp-color-picker | /wp-admin/js/color-picker.min.js
jquery | 
media-upload | /wp-admin/js/media-upload.min.js
thickbox | /wp-includes/js/thickbox/thickbox.js
wpuf-chosen | http://mydomain.com/wp-content/plugins/wp-user-frontend-pro/admin/../assets/js/chosen.jquery.js
wpseo-admin-global-script | http://mydomain.com/wp-content/plugins/wordpress-seo/js/wp-seo-admin-global.min.js
td-wp-admin-general | http://mydomain.com/wp-content/themes/Newspaper/wp-admin/js/general.js
td-wp-admin-panel-js | http://mydomain.com/wp-content/themes/Newspaper/wp-admin/js/wp-admin-panel.js
suggest | /wp-includes/js/jquery/suggest.min.js
registered styles
admin-bar | /wp-includes/css/admin-bar.min.css
colors | 1
ie | /wp-admin/css/ie.min.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
itsec_notice_css | http://mydomain.com/wp-content/plugins/better-wp-security/core/css/itsec_notice.css
wp-color-picker | /wp-admin/css/color-picker.min.css
wpuf-chosen-style | http://mydomain.com/wp-content/plugins/wp-user-frontend-pro/admin/../assets/css/chosen/chosen.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://mydomain.com/wp-content/themes/Newspaper/wp-admin/css/wp-admin.css
thickbox | /wp-includes/js/thickbox/thickbox.css
wpalchemy-metabox | http://mydomain.com/wp-content/themes/Newspaper/wp-admin/content-metaboxes/meta.css
ithemes-icon-font | http://mydomain.com/wp-content/plugins/better-wp-security/lib/icon-fonts/icon-fonts.css
bbp-admin-css | http://mydomain.com/wp-content/plugins/bbpress/includes/admin/css/admin.css
jetpack-icons | http://mydomain.com/wp-content/plugins/jetpack/_inc/jetpack-icons.min.css

Here what my pagespeed test suggest

Remove Render Blocking Javascript
http://mydomain.com/wp-includes/js/jquery/jquery.js.pagespeed.jm.ocognCjcS2.js

http://mydomain.com/wp-includes/js/jquery/jquery-migrate.min.js.pagespeed.jm.mhpNjdU8Wl.js

http://maps.google.com/maps/api/js?sensor=true

http://maps.gstatic.com/maps-api-v3/api/js/17/15/main.js

http://mydomain.com/wp-content/plugins/wp-user-frontend-pro/assets/js/frontend-form.js.pagespeed.jm.DduuMTRcHs.js

Optimize CSS Deliver of the following

http://mydomain.com/wp-content/plugins/revslider/rs-plugin/css/W.settings.css,qrev=4.3.8.pagespeed.cf.DyIPD1r_80.css

http://mydomain.com/wp-content/plugins/revslider/rs-plugin/css/W.captions.php,qrev=4.3.8.pagespeed.cf.VUw1T7K7S2.css

http://mydomain.com/wp-content/plugins/wp-user-frontend-pro/assets/css/W.frontend-forms.css.pagespeed.cf.vemqQTxrMU.css

http://fonts.googleapis.com/css?family=Roboto%3A400%2C700

I am also using Dreampress which is on varnish cache. I enabled Page Speed Mod as well. No other caching plugin.
My Page Speed Score is 64 for desktop and 41 for mobile.

Further, Here is what i added in my httaccess

<IfModule pagespeed_module>
  ModPagespeed on
  ModPagespeedModifyCachingHeaders off
</IfModule>

# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 604800 seconds"
ExpiresByType image/jpeg "access plus 604800 seconds"
ExpiresByType image/png "access plus 604800 seconds"
ExpiresByType image/gif "access plus 604800 seconds"
ExpiresByType application/x-shockwave-flash "access plus 604800 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 604800 seconds"
ExpiresByType application/javascript "access plus 604800 seconds"
ExpiresByType application/x-javascript "access plus 604800 seconds"
#ExpiresByType text/html "access plus 600 seconds"
#ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>
# END Expire headers

Now please suggest me what to do for increasing my page speed. My site is damn slow. Please help me to correct the speedbooster.php file as per instructions. Special request ot Christopher for helping me out. Thanks

Lucian
tagDiv Staff

Hi,

Try to add it like this:

.td-full-layout .td-big-slide-background .td-grid-wrap .iosSlider, .td-boxed-layout .td-big-slide-background .container .td-grid-wrap .iosSlider {
box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

Works fine for me: http://screencast.com/t/IqGhyLOc8n

Thanks

Lucian
tagDiv Staff

Hi,

You can add them like this: http://screencast.com/t/Ixrr28AE
This is the code added there:

echo $this->current_post->get_author();
                    echo $this->current_post->get_date();

Then use this custom css to style them:

.iosSlider .td-block-author {
position: relative;
top: -20px;
color: white;
font-size: 20px;
font-weight: bold;
}

.iosSlider time {
position: relative;
top: -20px;
color: white;
font-size: 20px;
font-weight: bold;
}

.iosSlider .td-block-author a {
color: white;
}

Hope this helps.
Thanks

  • This reply was modified 11 years by Lucian.
Lucian
tagDiv Staff

Hi,

I have checked your site and seems like the big slider post title look fine, have you managed to solve this?
This is the normal look of the title on big slider large image: http://screencast.com/t/iXHuXXfKA0Dr
You can change this from td_module_slide_big.php file like this: http://screencast.com/t/tdeImp5vTLJ
If you change that two values you will get this result: http://screencast.com/t/0g5Mdwj0jPrz

Here is the option for changing the big/small images title from big slider http://screencast.com/t/QbxAUrx5C
I have noticed that you have 3.8 theme version and i’m not sure but i don’t think you have these feature in that version so you should update the theme if you want to have this.

For the small images you can change the font-size and line height using this custom css, add it in theme panel > custom css:

@media (max-width: 1020px) and  (min-width: 768px){
.iosSlider  .td-big-grid-post .td-big-grid-title a {
font-size: 10px!important;
line-height: 10px!important;
}
}

Adjust the size as you like by changing the pixel value.

Hope this helps!
Thanks

  • This reply was modified 11 years by Lucian.
simchris
tagDiv Member

I don’t think the theme expressly is advertised as having any special/advanced support for BuddyPress … however, is believed to work with BuddyPress as you know from your prior posts on this topic. Remember that updates/upgrades are being done based on those most requested items, and this is a “newspaper” theme, and not expressly a theme designed for forums and social communities, which might be found in a theme specifically tailored for BuddyPress. Compatibility is more often the responsibility of BuddyPress devs and not the theme devs as noted on the BuddyPress site here:

(snip)

Themes

The concept of what makes a “BuddyPress Theme” can be a bit confusing. Since BuddyPress 1.7, your WordPress site is no longer required to have a theme that explicitly supports BuddyPress. Instead, BuddyPress comes with support for just about any modern and standard WordPress theme (especially the default ones.)

Back in 2010, bbPress popularized the concept of “Theme Compatibility.” This is a way of saying that even if your theme doesn’t directly support a specific feature, that feature will still function, look, and feel as it was originally intended to.

It’s a way to shift responsibility of code interoperability off of individual themes and onto feature developers to consider a wider audience.

Fun fact: WordPress has come with theme compatibility for comments for years — if your theme doesn’t directly support comments, WordPress fills in that gap and your visitors would never notice the difference. Neat, eh?

Savvy theme authors can still build beautiful and amazing WordPress themes that exclusively target BuddyPress and bbPress; theme compatibility just simplifies the process for them by giving them a set of conventions to work within.

We’ll be adding some screenshots of popular themes with BuddyPress integration soon. In the meantime check out some WordPress themes that include BuddyPress support in the WordPress theme repository.

(/snip)

That likely didn’t help, but thought I’d share based on my own experience with BuddyPress and various WP themes the past couple of years.

simchris
tagDiv Member

No prob. As I think I said, I spent an entire month (January 2014) messing with this stuff, and a mix of Amazon’s CDN, our new server, mod_pagespeed, etc.

I think I mentioned someplace the flaw in Google’s speed algorithm, where one of my test pages got a 91/100 with 47% of page rendering due to blocking elements; combined some files, now only have one blocking element, but less than 1% is considered able to render before loading the main CSS file, and the score went up to 97/100 for desktop and 91/100 mobile with user UX score of 85/100, and the items for the UX score are stupid.

(Test this page, which doesn’t use CDN, doesn’t use WordPress:
http://www.send2press.com/services/ez_price_list.shtml

You can drive yourself to drink with this stuff.

And the super annoying thing is the new expectation by Google for all pages to load via https, which requires SSL cert, and to possibly enably mod_SPDY on server since https is inherently slower than http. But … that’s another story, and the one I’m suffering with now. (Sigh.)

Cherry
tagDiv Member

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.

  • This reply was modified 12 years by Cherry.
  • This reply was modified 12 years by Cherry.
Cherry
Participant
#0

Ok now, here’s the story:

I deleted my whole blog because still having issues. So I reinstalled everything new (had the demo running, now own build) I also thought, that Cloudflare would be the problem- but it isn’t (right now I don’t use CF)

Christopher Simmons helped me a lot- so I was able to solve a lot of things on my own.

But there are still some things I can’t handle on my own (seems like it) – and I’m on the edge of despair.

FYI my installed plugins:

tagbooster, W3 Total Cache, wpSeo, Code Embed, TinyMCE, Animated Gif Resize, Antispam Bee, Async JS and CSS, Broken Link Checker, Contact Form 7, EWW Image Optimizer, Jetpack, Query Strings Remover, WP DB-Manager, Google XML Sitemaps and the Visual Composer.

No matter what I do (installing Query Strings Remover or adding a code to the functions.php) I STILL HAVE PROBLEMS WITH THE “REMOVE QUERY STRINGS”

I really need someone to help me fix this or show me how to! I’m so helplessly I could cry over this!

I would like to start with adding content, but this makes me really desperate

The claimed files are:

Remove query strings from static resources
C (70)
88%
Content High
What does this mean?
Resources with a “?” in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources:

http://cherrykoks.de/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=4.1
http://cherrykoks.de/wp-content/themes/Newspaper/includes/wp_booster/external/bootstrap/td-bootstrap.css?ver=4.1
http://cherrykoks.de/wp-content/themes/Newspaper/style.css?ver=4.1

Next one is:

Specify a cache validator
A (90)
93%
Server High
What does this mean?
The following resources are missing a cache validator. Resources that do not specify a cache validator cannot be refreshed efficiently. Specify a Last-Modified or ETag header to enable cache validation for the following resources:

http://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?ver=4.1

http://gtmetrix.com/reports/cherrykoks.de/4u0OTZRR

Note: I use as fonts: Georgia and Times New Roman over the whole blog! I was reading a lot of threads with tips as “Comment them out” “delete it” and this is also not working. When I try to comment out in functions.php I get a syntax error. And to delete: I don’t know which lines, because my functions.php looks a little bit different.

The font problem also appears in :

Add Expires headers
B (89)
25%
Server High
What does this mean?
There is 1 static component without a far-future expiration date.
http://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?ver=4.1

Page Speed Insights for example is complaining about the “above the fold” thing on mobile Devices and desktop, these are the same files- which GTMetrix claims with “remove query strings”

see here: https://developers.google.com/speed/pagespeed/insights/?url=cherrykoks.de&tab=mobile

Everything else is ok for me- but how can I solve the “few” problems.

I hope there’s an angel in this forum who can save me from getting nuts.

If someone of you needs any file information, let me know. I’m glad for any help with this!

Julia

Viewing 25 results - 1,651 through 1,675 (of 1,756 total)