Alexandar Tzanov's Personal Blog

Tag: htaccess

  • Messing with WordPress SPAM Bots

    If you have a WordPress based blog, or otherwise use WordPress as a CMS for your website, you are either getting a lot of bad user accounts being created or noticing a lot of knocking on your wp-login.php page. WordPress has a nice feature which allows you to install WordPress in a directory other than…

  • How to protect wp-login.php using .htaccess and .htpasswd?

    If you own or maintain a WordPress based web site you might or might not be aware that the wp-login.php page in your root directory, and the wp-admin directory are under constant attacks by malicious bots. This tutorial will show you how to password protect the wp-login.php file through the use of .htaccess and .htpasswd.…

  • How to retain SEO when switching domains or URL structure

    If you ever move your website to a new domain and you are also chaning the URL structure of you web site it is not enough just to place a domain redirect form the old domain! You will have to update the .htaccess file at your new domain’s web root directory to avoid 404 errors…

  • .htaccess: Option FollowSymlinks not allowed here [Apache]

    If you ever receive the Apache/htaccess Symlinks error: .htaccess: Option FollowSymlinks not allowed here Simply replace FollowSymlinks with SymLinksIfOwnerMatch. It’s just a security feature that makes your website more secure.