Forum Replies Created

Viewing 14 replies - 16 through 29 (of 29 total)
  • Hello,

    Last link provided by yoga1103 is now outdated and a bit of a jumble in the words of WPyogi, and has been closed.

    I have exactly the same problem as tanveer.rahat (first post here), on XAMPP, and this is driving me mad.

    I have launched the HTTPS Tester as well as the Background Update Tester plugins. In essence, cURL and OpenSSL are working OK, and httpd.conf, php.ini, httpd-ssl.conf, and hosts have been tweaked a zillion of times. After all those tweakings, my localhost system still works OK. Everything is OK in fact.

    With the exception of lines 123, 303, and 467 of file wp-includes/update.php, where WordPress could not establish a secure connection to WordPress.org.

    Is there anything obvious that I didn’t think yet?

    My website is on OSX 10.11.2 (El Capitan) and WordPress at 4.4.1.

    Thread Starter zakoops

    (@zakoops)

    Hi again,

    Forgot to add:

    If you have a post called “my preferred cat”, then you would have:

    <link rel="alternate" hreflang="en" href="http://www.domain-name.com/en/my-preferred-cat" />
    <link rel="alternate" hreflang="fr" href="http://www.domain-name.com/mon-chat-prefere" />
    <link rel="alternate" hreflang="x-default" href="http://www.domain-name.com/mon-chat-prefere" />

    …for each version of the posts (English and French).

    But, if the French post (mon chat préféré) has no English version, then you forget these meta tags for that unique French post. That’s my understanding in accordance with the Google recommendations.

    Thread Starter zakoops

    (@zakoops)

    Hi Renwod,

    In my case, I have the French and English versions as two separate installations of WordPress.

    Main “entrance” is the French version at http://www.domain-name.com/ whereas the homepage for the English version is at http://www.domain-name.com/en (factice names here…)

    The following is telling Google that default page is the French version (x-default) but the equivalent English version will be found at http://www.domain-name.com/en (hence the
    “rel=”alternate” hreflang=”en”):

    <link rel="alternate" hreflang="en" href="http://www.domain-name.com/en" />
    <link rel="alternate" hreflang="fr" href="http://www.domain-name.com/" />
    <link rel="alternate" hreflang="x-default" href="http://www.domain-name.com" />

    The above 3 lines have been entered in the “Full meta tags:” field of the Add Meta Tags plugin for both home pages (in the French and English versions) and not in the general settings called Metadata Settings of the plugin.

    Hope that helps!

    Thread Starter zakoops

    (@zakoops)

    Hi,

    Ok, I solved my problem. Just had to fill proper information into the “Full meta tags” box!

    That’s despite the warning Important note: for security reasons only meta elements are allowed in this box. All other HTML elements are automatically removed. (I presume here that a link element is different from a meta element…).

    In any event, please keep that facility as the Google’s hreflang is an important feature to keep along with all other ones already considered by your plugin (which is outstanding).

    Thread Starter zakoops

    (@zakoops)

    Thanks Thomas for the additional information.

    Now thinking your plugin will then be helpful.

    Thread Starter zakoops

    (@zakoops)

    Hi again,

    After some thinking, your plugin is targeted at the Flickr database which could have different rules for attribution.

    So, forget about my [double yes, sorry] previous post.

    Have a good day.

    Thread Starter zakoops

    (@zakoops)

    Hi Thomas,

    Sorry for being late in checking out the thread.

    After looking at the example you provided, I think that the attribution is clearly insufficient for my needs as I’m following these guidelines:

    Thanks anyway!

    Thread Starter zakoops

    (@zakoops)

    Hi Thomas,

    Sorry for being late in checking out the thread.

    After looking at the example you provided, I think that the attribution is clearly insufficient for my needs as I’m following these guidelines:

    Thanks anyway!

    To Futtta and Franck160,

    ThreadStackSize is definitely solving the problem!

    It’s wow again 🙂

    Now, default theme (twentyfourteen) is now working perfectly on my localhost with everything minified (including the css file) !

    As Include conf/extra/httpd-mpm.conf was already uncommented in the httpd.conf file, the change as been inserted as follows in httpd-mpm.conf instead:

    # WinNT MPM
    # ThreadsPerChild: constant number of worker threads in the server process
    # MaxConnectionsPerChild: maximum number of connections a server process serves
    # Adding ThreadStackSize on 2014-01-04
    <IfModule mpm_winnt_module>
        ThreadStackSize    8388608
        ThreadsPerChild        150
        MaxConnectionsPerChild   0
    </IfModule>

    8388608 being equivalent to 8*1024*1024… (see How do I increase the stack size for Apache running under Windows 7?).

    Admittedly, the contribution of Franck160 was a nice (and a dirty) one, but changing the ThreadStackSize is more elegant.

    Now going back to my ongoing project with a smile…

    Thanks to both of you and have a nice day!

    To Franck160,

    Wow! Many thanks for such discovery and insight.

    It’s good news that the plugin (version 1.7.3 or 1.8) would work A1 on Linux (on a real server).

    I did look at the file yui-php-cssmin-2.4.8-1.php (under Autoptimize 1.7.3) and the incriminating line (291) is exactly the same as for yui-php-cssmin-2.4.8-2.php (under beta Autoptimize 1.8). That’s more good news as that suggests the change you propose would also work in the last stable version of Autoptimize (1.7.3).

    As soon as I finish my ongoing project, you can be sure I will test that change (in a few days).

    Many thanks!

    Thanks for looking into this matter!

    Versions used on XAMPP/Windows 7:

    • XAMPP 1.8.3
    • Apache 2.4.7
    • PHP 5.5.6
    • MySQL 5.6.14

    After a fresh reboot this morning and making sure that no other plugins are running, I’m still getting the same problem…

    I continue my investigation because this issue challenges me and will inform you of anything that might be interesting.

    Hi (me again…),

    Strangely, with another localhost website which is much more heavy with lots of css and javascript files (including jQuery), Autoptimize runs fine with everything minified (including css).

    Test is done with the following:

    • WordPress 3.8
    • xampp/localhost (Windows 7)
    • themeforest Mural theme

    I’m looking forward with what could be so strange with the TwentyFourteen css files…

    Hi futtta,

    I’m having exactly the same behavior as onetrev here with CSS optimization being the problem:

    The above behavior is obtained with these settings:

    • Optimize HTML Code? Box checked.
    • Optimize JavaScript Code? Box checked.
    • Optimize CSS Code? Box checked (any other variants of css settings do not eliminate the problem).
    • All other Autoptimize settings are off (unchecked).
    • In last resort, I inserted in wp-config.php the “define(“AUTOPTIMIZE_LEGACY_MINIFIERS”, “true”);” but without any success.

    My test is done with the following:

    • WordPress 3.8
    • xampp/localhost (Windows 7)
    • TwentyFourteen theme.

    This test is made with a child theme where the [near] empty style.css is:

    /*
    Theme Name:     Twenty Fourteen Blues
    Theme URI:      http://example.com/twenty-fourteen-child/
    Description:    Twenty Fourteen Child Theme
    Author:         dharma blues
    Author URI:     http://example.com
    Template:       twentyfourteen
    Version:        1.0.0
    */
    @import url("../twentyfourteen/style.css");
    
    /* =Theme customization starts here
    -------------------------------------------------------------- */

    If I do the same test but in the parent theme (no more child), the same problem persists. So, child theme is not the culprit here.

    Most notably: as soon as I uncheck the “Optimize CSS Code” setting, then everything runs fine (and HTML and javascript are indeed minified).

    So, legacy minifiers do not appear to help here!

    Custom Taxonomies for posts and pages.

    If not, pages should also be tagged and categorized.

    Menu manager – maybe of the kind we find in the administrative panel of the Display theme (see it here).

Viewing 14 replies - 16 through 29 (of 29 total)