2

I recently signed up a hosting package, and installed WordPress from the control panel. I noticed there is wp-cli.yml in the web root folder. The file contains:

apache_modules:
    - mod_rewrite

Can I ask what is it for? Is it a good idea to leave it there even if I might never use it?

  • 1
    I have a hunch its a file that got installed from you installing wordpress. I guess this because the filename starts with wp which stands for wordpress. If I'm correct, then I'd just leave the file alone. – Mike Feb 9 '18 at 22:56
2

It’s a file that your hosting company is using to help them manage the availability of and updates to the WordPress Command Line Interface. It’s supposed to be there, don’t mess with it.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.