how to find and edit htaccess file in oneclick wordpress install

September 3, 2019 718 views
Ubuntu WordPress Ubuntu 16.04 Ubuntu 18.04

I have a one-click WordPress droplet,I have configured ms-config.php,I am unable to find htaccess ,please help.

1 Answer


By default, the .htaccess file should be at /var/www/html/.htaccess.

If the file is not there, then you could just create it and add the default .htaccess rules for Wordpress. You can get it from here:

Hope that this helps!

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!