Skip to content
Are you looking for a fast and secure hosting plan with 24/7 Technical Support? Contact us today for a free trial account.
plothost logo
  • HOME
  • SHARED HOSTING
  • RESELLER HOSTING
  • SUPPORT
  • KNOWLEDGE BASE
  • CONTACT
Menu Close
  • HOME
  • SHARED HOSTING
  • RESELLER HOSTING
  • SUPPORT
  • KNOWLEDGE BASE
  • CONTACT
Search this website
htaccess
  1. Home>>
  2. KB>>
  3. htaccess>>
  4. htaccess

How to deny access to a specific file on your site via .htaccess

  • Post author:Editorial Staff
  • Post published:April 5, 2017
  • Post category:cPanel/Server
  • Post comments:2 Comments

Do you want to keep a file on your web hosting account private? You can do so by blocking access to it via a rule in the .htaccess file. The steps are: 1. Login to your cPanel account. 2. Go…

Continue ReadingHow to deny access to a specific file on your site via .htaccess

How to show hidden files (.htaccess) in cPanel File Manager

  • Post author:Editorial Staff
  • Post published:April 4, 2017
  • Post category:cPanel
  • Post comments:3 Comments

Many users ask us how they can see the .htaccess files for their websites in cPanel File Manager. By default, such files are not shown. To see the hidden files in cPanel File Manager follow these steps: Log into your cPanel…

Continue ReadingHow to show hidden files (.htaccess) in cPanel File Manager

How to password protect a directory via cPanel

  • Post author:Editorial Staff
  • Post published:March 18, 2017
  • Post category:cPanel
  • Post comments:0 Comments

How to protect a directory in cPanel: Log into your cPanel account.Look for Directory Privacy optionClick on the directory you want to protect by username and password.On the new page that will open, complete the field Enter a name for the…

Continue ReadingHow to password protect a directory via cPanel

Block bad bots via .htaccess

  • Post author:Editorial Staff
  • Post published:March 16, 2017
  • Post category:WordPress
  • Post comments:1 Comment

Do you see a lot of traffic to your site from bad bots? If you have a WordPress site, maybe the first reaction is to search for a WordPress plugin that will block such visits. But instead of using a…

Continue ReadingBlock bad bots via .htaccess
  • Go to the previous page
  • 1
  • 2
  • 3

Search Knowledge Base

Press Escape to close the search panel.

Recent KB Posts

  • How to fix Dolibarr configuration file warning message April 18, 2022
  • Manual installation of IceHrm April 17, 2022
  • How to install PEAR packages in DirectAdmin April 16, 2022
  • How to backup/restore RoundCube settings in DA March 11, 2022
  • How to add email accounts from command line March 11, 2022
  • How to revert WordPress to a previous version March 8, 2022
  • How to disable access to http://[ip or hostname]/~username March 8, 2022
  • How to generate a local Lighthouse Report March 7, 2022
  • How to disable ping command (ICMP echo) March 7, 2022
  • How to fix “Background and foreground colors do not have a sufficient contrast ratio” message February 22, 2022
  • How to disable malicious PHP functions in DirectAdmin February 22, 2022
  • How to check directives for all installed PHP versions February 21, 2022
  • How to upgrade your SuiteCRM installation February 21, 2022
  • How to disable da-popb4smtp February 2, 2022
  • How to enable RBL(real-time blacklists) in Exim February 2, 2022

KB Categories

  • CentOS Web Panel
  • cPanel
  • DirectAdmin
  • Internet
  • Linux
  • PHP
  • PlotHost
  • SEO
  • Server
  • SQL
  • VestaCP
  • WHM
  • Windows
  • WordPress

Hosting Services

  • Shared Hosting
  • Reseller Hosting
  • Application Hosting
  • DokuWiki Hosting

Local Site Pages

  • Privacy Policy
  • Acceptable User Policy
  • Terms of Service
  • Moodle Hosting

About Us

  • About Us
  • Our Hosting Awards
  • Our Partners
  • Web Hosting Knowledge Base

Contact Info

  • Sales Questions
  • Email:sales@plothost.comOpens in your application
  • Website:Submit a ticket
Copyright ©2008-2026 PlotHost. All rights reserved.