To create or update a .htaccess file using DirectAdmin follow the steps below:
- Login to DirectAdmin via link provided in your 'New Account' email
- Click the 'Files' icon from the top menu
- Click the 'public_html' folder from the directory listing
- Check for a '.htaccess' file in the listing. If it does not exist scroll to the bottom of the page and in the 'Create New File' box enter '.htaccess' then click 'Create'
- Scroll to the '.htaccess' file then click 'Edit'
- Make the required modification, noting mistakes may prevent your website from working.
- Click the 'Save As' button