• Resolved bas112

    (@bas112)


    Hi there!

    I’m trying to configure the plugin for a multisite, following the instructions outlined in the FAQs. The instructions say to add code to .htaccess files in the /wp-content directory and the /wp-content/uploads-webpc directory.

    My issue is that I only have a .htaccess file in the root directory.

    So, I created new .htaccess files in those two directories with the appropriate code additions for the plugin. That seemed to work, however, the images were being served as text/html instead of webp.

    Any guidance would be greatly appreciated. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @bas112,

    Thanks for your message.

    Please send me a screenshot of the plugin settings page and the url to your website.

    Best,
    Mateusz

    Thread Starter bas112

    (@bas112)

    Hi Mateusz,

    Thanks for the quick reply!

    The site url is:
    https://blogs.fuqua.duke.edu/duke-mba/

    Plugin settings:

    View post on imgur.com

    • This reply was modified 2 years, 10 months ago by bas112.
    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @bas112 Why did you activate Pass Thru mode instead of via .htaccess?

    Thread Starter bas112

    (@bas112)

    It showed me the server configuration error message with error code: rewrites_not_working above the settings when I had via .htaccess selected.

    The error message recommended I switch to Pass Thru mode, which I did, and the error message went away.

    • This reply was modified 2 years, 10 months ago by bas112. Reason: more info
    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @bas112 I don’t see any problems on your website. How can I see them?

    Thread Starter bas112

    (@bas112)

    The site I’m working on is a development instance, not a live site, so you wouldn’t be able to access it. But it’s an exact clone of the url I gave you. I’m testing the plugin there before using it on the live site.

    The issue shows up when I add the .htaccess files to /wp-content directory and the /wp-content/uploads-webpc directory. All the images that should be served as webp are being served as text/html, so basically they don’t display at all.

    Do you have any idea what may be causing that to happen?

    The .htaccess files contain the standard boilerplate code and the respective code from the plugin FAQ Multisite instructions.

    • This reply was modified 2 years, 10 months ago by bas112.
    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @bas112 Please contact me via e-mail: hello(at)mattplugins.com. I will try to help you!

    Thread Starter bas112

    (@bas112)

    SOLVED:

    My .htaccess files in the wp-content directory and the wp-content/uploads-webpc directory (which I created, so they were previously blank) should only have the code copied from the FAQs.

    Thanks Mateusz!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Multisite: .htaccess file only found in root directory’ is closed to new replies.