• Resolved Brad Johnson

    (@p4fbradjohnson)


    HI

    I love the plugin! Great work.

    Everything was working 100% – not sure when it broke. I use ShiftNav for my mobile menu. Sadly now, for some reason my image in my mobile menu is broken. NGINX says 404 not found.

    Everything else is working 100%.

    Do you have any ideas?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author rosell.dk

    (@roselldk)

    Yes, I see a 404 on the following URL:
    https://mariselaveludo.fashion/wp-content/uploads/2019/01/menu-image-1068×459.jpg.webp

    I can see that you are using the new alter HTML option, with picture tags.

    I guess that you have enabled “Reference webps that hasn’t been converted yet” and “Convert non-existing webp-files upon request”.

    However, the “Convert non-existing webp-files upon request” option requires that you add an extra rule in your Nginx config. I have recently improved the Nginx rules in the FAQ, and there are also a rule for that. Check it out here: https://wordpress.org/plugins/webp-express/ (the “I am on Nginx” section)

    You could also simply disable “Reference webps that hasn’t been converted yet”

    Plugin Author rosell.dk

    (@roselldk)

    The Nginx rules for making “Convert non-existing webp-files upon request” work:

    location ~* ^/?wp-content/.*\.(png|jpe?g)\.webp$ {
        try_files
          $uri
          /wp-content/plugins/webp-express/wod/webp-realizer.php?wp-content=wp-content
          ;
    }

    (but you should add the other suggestions in the FAQ too)

    Thread Starter Brad Johnson

    (@p4fbradjohnson)

    Brilliant! Working like a charm… Thanks for your very quick response.

    Let me give you some more info for your FAQ’s…. The lazy loading is also working with Lazy Load by WP Rocket. If I didn’t give you a review, I will do so now.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘ShiftNavPro – WEBP’ is closed to new replies.