Creating a .htaccess is easier then it sounds.
You can create an .htaccess file in any text editor. When saving on
Windows, make sure to use "All file types" options. On Macs, creating a
.htaccess file will result in the file disappearing on OS X. As such,
it's best to create it as htaccess and then rename it once it's on the
server.
You can also create the file via the File Manager located in the control panel.
The .htaccess file is a simple text file that tells apache, the web
server, how to behave with files and directories that are accessed.
These configuration options only affect the web server, web pages, and
nothing else.
- 91 Users Found This Useful
Related Articles
Your own php error.log and displaying errors
Is your script not behaving as expected or producing a white page? If so, it could be a PHP...
SMTP Authentication via Scripts
Using SMTP authentication for your scripts, like you would with a mail client, is important for...
Block HTTP request based on user agent - browser used
If you need to block a user agent / bot / browser from your site, you can do so with a .htaccess...
PHP settings and the .user.ini file
Most settings for PHP can be configured via a file called ".user.ini" as defined by the...
Standard Mail Settings
Mail Server Info: Login: Is your full email address (example@example.com) Incoming mail...