How to Override a Directory in GoDaddy

When using a GoDaddy shared web-hosting account, there are various configurations set up for the folders on your web server. These configurations and permissions are determined by GoDaddy remotely. If you want to override settings for a particular folder, then you can use a .htaccess file. With the .htaccess file you can amend settings such as folder protection, default pages or hot-link ability for that individual folder.

Instructions

    • 1

      Log in to your GoDaddy account, click "Web Hosting," and then click "Launch" next to your account.

    • 2

      Click "FTP File Manager," then click "New File." Name the file ".htaccess" (without quotes). A empty text area will open.

    • 3

      Type the commands you want to issue to override those directory defaults. There are many commands you can enter here, all of which are dependent on what you want to achieve. Type a single statement on each line; for example, to disable directory browsing add a line that reads "IndexIgnore */*" (without quotes) on a line. To set a nonindex.html page as the start page type "DirectoryIndex newpage.html" on the next line. If you are unsure which commands you wish to use, check the .htaccess documentation (see Resources).

    • 4

      Click "Save" to save your changes.

Tips & Warnings

  • If you find writing the file yourself too hard, use the .htaccess file generator (see Resources).

Related Searches:

References

Resources

Comments

Related Ads

Featured