Forum Replies Created

Viewing 15 replies - 1 through 15 (of 35 total)
  • Hello,

    I would like to know also what exactly is going on the .htaccess, there are some equivalent ways to add it the NGINX way and I can add it manually.

    I suppose I can download the plugin and inspect files and run an apache setup to check what rules go in the .htaccess but that would take some extra time and it would be nice if can at least point in the right direction.

    If is because of caching problems, that can also be dealt with skips and such to bypass and make it work.

    Just wanted to try out the plugin ??

    Having the same issues. The first time I actually click on the button to start “Count links” it began but then it stopped. Tried to run it again and nothing was coming up.
    Then it told me might of had a database duplicate or transient problem that might go away.
    The database issue seemed to go away but I click to count links and its stuck again in 0 and the bar doesn’t move.

    JS Console outputs this:

    GET https://www.example.com/wp-json/yoast/v1/reindex_posts 500 ()
    (anonymous) @ VM587:1
    send @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8:4
    ajax @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8:4
    e @ wp-seo-reindex-links-501.min.js?ver=5.0.1:1
    (anonymous) @ wp-seo-reindex-links-501.min.js?ver=5.0.1:1
    f @ wp-seo-reindex-links-501.min.js?ver=5.0.1:1
    h @ wp-seo-reindex-links-501.min.js?ver=5.0.1:1
    (anonymous) @ wp-seo-reindex-links-501.min.js?ver=5.0.1:1
    dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8:3
    r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8:3
    trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8:3
    a.event.trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8:9
    (anonymous) @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8:3
    each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8:2
    each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8:2
    trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8:3
    n.fn.(anonymous function) @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8:4
    i @ wp-seo-reindex-links-501.min.js?ver=5.0.1:1
    dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8:3
    r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.8:3

    I think it did help slightly. I was trying to look into it to help while having lunch at work and in terms of loading and speed index its slightly faster:

    Before: https://www.webpagetest.org/result/170331_DS_62GK/

    After: https://www.webpagetest.org/result/170331_H4_63H2/

    I think I would consider installing also Frank’s other plugin WP YouTube Lyte to decrease some requests unless you already have it and I missed it.

    And disable emojis from WordPress if you do not use them, there is a plugin for that also.

    Thread Starter lutechi

    (@lutechi)

    Yea when disabled HTML optimization the nginx subs_filter works but then would lose AO HTML part of it ??

    Is just funny that when is not specific looking for certain types of files in Nginx it runs fine.

    Does the HTML module in AO takes care of the noptimize tags? Cause I depend on those a lot ??

    Thread Starter lutechi

    (@lutechi)

    You should Frank! Nginx is fun and ultra fast. Even easier when using something like EasyEngine which has nice features like SSL, Redis, PHP7, Nginx cache, etc…

    But to the output yes, is basically like a search and replace on the fly from the browser request.

    Thread Starter lutechi

    (@lutechi)

    Thanks for the quick reply, however I tried all sorts filetypes and still happening the same. PNG it was just for example, but I did disable the cdn in AO and still the same.

    Basically I would like to pass all through the CDN but background videos (consuming too much bandwidth from CDN per month), which I can do if AO is disabled.

    I can do it with KeyCDN plugin but I was trying to take advantage of the simple nginx method.

    Might have to go back to KeyCDN plugin until can find a workaround.

    Thanks again!

    Thread Starter lutechi

    (@lutechi)

    To anybody that would like to know if there was a problem with NGINX, there wasn’t. Is working perfectly. It was something else, explained below.

    The problem was an HTML comment for a tracking script that was misleading the plugin in to think the comment was a real tag inside of it and therefore it was breaking it. Example of the HTML comment: “put it in between <body> and </body> tags”.

    I wonder if you can add a solution for that, to be like “check if tags are not inside a comment then do a function”. So it helps in the future to other people that might receive scripts like mine with stuff like that lol. If it was for me I would of removed the comment, but some agencies require it cause either it might trigger something or just don’t understand is not needed most of the time. In this case they wanted me to not remove the comment.

    Thanks Frank for the help!

    Thread Starter lutechi

    (@lutechi)

    I sent the info to your email, thanks again!

    Thread Starter lutechi

    (@lutechi)

    I will send you an email later with the test site, do not want to put the site URL and also do not want to break the live site while testing.

    Thanks Frank!

    Thread Starter lutechi

    (@lutechi)

    Sure, whatever you need, I would like to find out what is causing it also. I might also do a test site, but at work at this moment.

    Thread Starter lutechi

    (@lutechi)

    Thank you for your quick response, hopefully is not a bug and it keeps happening. While it’s an easy fix, it triggers autoptimize and my cache plugin to delete the cache on all pages whenever I disable / activate a plugin and that makes the site work more.

    Plugin organizer is in my top 3 plugins must install on complex sites.

    Thanks Jeff, for your awesome plugin.

    Thread Starter lutechi

    (@lutechi)

    Hello Jonathan,

    After awhile I decided I did not needed the CSS from WPML because it was so minimal in my case that I put the following function in the function.php file of my child theme to dequeue the WPML CSS and any CSS needed I just added to my theme:

    define('ICL_DONT_LOAD_LANGUAGE_SELECTOR_CSS', true);

    Here are other JS or CSS you can disable from WPML:

    https://wpml.org/documentation/support/wpml-coding-api/

    Hopefully that might help you if is like my case.

    Thread Starter lutechi

    (@lutechi)

    OMG yes, it works!

    Haha, thanks Frank! I see what happened there lol. I did not catch it either cause I’m not a pro in php, I’m more of a designer “jack of all trades, master of none”.

    Woot now the not so fun part lol, exporting page by page critical css. I wish there was an automatic for that too. I found a plugin that supposedly does it automatically but it has to have extra stuff installed on server side, so I can’t test it on shared hosting. Maybe someone makes one without extra installs. ??

    Thank you so much. Now will be closer to 100 in page speed yay.

    Have wonderful day.

    Thread Starter lutechi

    (@lutechi)

    Also forgot to add, the elseif line is bringing up an error:

    Parse error: syntax error, unexpected '{' in /home..

    I changed it to a real page name, so is not related to the url. I had to remove the line to test it.

    Thread Starter lutechi

    (@lutechi)

    Thanks for the quick response.

    It did not work, the page keeps coming up with the global CSS but this time without the extra CSS at the end from the function. I guess because is not attached after the function like before. The style is nowhere in the source of the page, so is like it never fired up.

Viewing 15 replies - 1 through 15 (of 35 total)