Wait a minute. You've jogged my memory. When I installed let's encrypt on the live site, I changed the htaccess, I think.So maybe I need to change it back on the dev site.