Windowsのエクスプローラで.htaccessを作るには「.htaccess.」と入力すればいいらしい 

Windowsのエクスプローラで.htaccessを新規作成するには「.htaccess.」と入力すればいいらしい

editorconfig.org/#file-locatio
> For Windows Users: To create an .editorconfig file within Windows Explorer, you need to create a file named .editorconfig. (note the trailing dot), which Windows Explorer will automatically rename to .editorconfig for you.

フォロー

確かにエクスプローラだと効いたし名前変更もこれでできた
けどメモ帳の名前をつけて保存だと使えなかった(.htaccess..txtになった)ので時と場所によって「.htaccess.」と「".htaccess"」を使い分ける必要がありそう

ログインして会話に参加
Fedibird

様々な目的に使える、日本の汎用マストドンサーバーです。安定した利用環境と、多数の独自機能を提供しています。