Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

Other uncategorised cookies are those that are being analysed and have not been classified into a category as yet.

Skip to content

Htaccess

.htaccess settings are available for all Patchstack paid plan users.
Protection is available for WordPress sites only.

Hardening rules are extra firewall settings, that can be tweaked according to your needs. To manage your site’s .htaccess settings, navigate to Sites > yourdomain.com > Hardening > .htaccess in Patchstack App.

On the .htaccess features block you can modify some of your site settings and modify the .htaccess file.

Settings you can manage on this page:

  • Add security headers - toggle this, and Patchstack adds basic security headers to your .htaccess file
  • Prevent default WordPress file access - this feature blocks access to such files as license.txt, readme.html and wp-config-sample.php files
  • Block access to debug.log file - check this if you want to block access to debug.log file that WordPress creates when debug logging is enabled
  • Disable index views - disables directory indexing and file listings
  • Forbid proxy comment posting
  • Prevent image hotlinking

In case you wish to write custom .htaccess rules to the file, you can insert your rules to Custom .htaccess rules textfield.
Additionally, you can select if your written rules appear before or after the Patchstack rules in the .htaccess file.

Please note that in case your custom .htaccess rules would break your website, Patchstack will automatically remove them and revert the .htaccess to the previous working state.

Having done all your changes, click on Save settings at the bottom of this section.