Title:

Password Protect a Directory with htaccess

Are you working on a website for which you want to restrict access? Is there an area on your site (like stats or private pages) for which you want exclusive access? If yes, this article is meant just for you. Htaccess allows you to enable password protection on an entire site or specific section. Anyone…

Title:

htaccess and security plugins

.htaccess is a configuration file for use on web servers like Apache. It helps site owners and administrators control how visitors interact with the site. A web server generally comes with preset configurations that determine various parameters on your site. They include access control, URL rewrites, conditional blocking, etc. Quite often, you may want to…

Title:

What is .htaccess all about?

When a visitor accesses your site, a HTTP request is made from the browser to the web server. Before acceding to this request, the server will check its configuration file if there are any directives to be applied. These directives include URL redirection, access control, IP blocking, etc. Once the directives are applied, the resultant…

Title:

Two Factor Authentication for WordPress

Passwords have been our primary means of protection in the WordPress world for a really long time. However, with use of passwords becoming commonplace, more and more attacks on them have been successful. Making matters worse are users who think of obvious and easy-to-guess passwords or reuse the same password for multiple accounts. A practical…

Title:

Two Factor Authentication for WordPress

Passwords have been our primary means of protection in the WordPress world for a really long time. However, with use of passwords becoming commonplace, more and more attacks on them have been successful. Making matters worse are users who think of obvious and easy-to-guess passwords or reuse the same password for multiple accounts. A practical…

Title:

Changing the default index page with htaccess

Whenever a visitor tries to access a specific directory on your site, say www.mysite.com/products, WordPress uses the index.php file to load its content. However, on some servers, index.php is not loaded automatically. In such cases, either a 404 error message or the content of the directory is displayed. Doing this can expose sensitive information about…

Title:

Redirect your WordPress site with htaccess

Redirection is the process of forwarding a URL request to another URL. There are many cases where redirection plays an important role – moving your site to a new domain, redirecting a single page, moving to a different file extension, redirecting www to non www version of the site, and many more. The redirection can…

Title:

Custom Error Pages with htaccess

While browsing the Internet, we’d all have encountered errors at some point. The most common errors that show up are when we try to access a non-existent page or something failed during server processing. While this is undoubtedly a frustrating experience for any visitor, we can do our bit to get them out of the…

Title:

Enforcing Strong Passwords in WordPress

Passwords are definitely a chink in one’s armour when it comes to WordPress security. Over time, password-based protection has gotten weaker and the attackers stronger. In our earlier article, we looked at how brute force attacks are causing widespread havoc in the WordPress community.  The most common mistakes that we make is not using strong…

Title:

Stop hotlinking with htaccess

While browsing through the web, you find a very interesting image for your site. There are 2 ways in which you can add it to your own site (assuming it is a free image) – download the image to your local computer and upload it to your site or add a direct link to that…

End of content

End of content