how to find and edit htaccess file in oneclick wordpress install

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

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

1 Answer

Hello,

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:

https://wordpress.org/support/article/htaccess/

Hope that this helps!
Regards,
Bobby

Have another answer? Share your knowledge.