Category Archives: Wordpress

Linux: Install LAMP Stack on Debian 10 (Buster)

Hi ,

this post describes the steps to install a lamp stack on debian linux. This is the base for many content management systems like Joomla, WordPress or Drupal.
Continue reading Linux: Install LAMP Stack on Debian 10 (Buster)

Advertisment to support michlstechblog.info

WordPress: Warning: Cannot modify header information

Hi,

when you change your Provider or your provider changes PHP version the Login page of WordPress (wp-login.php) shows an error message like this and a login is impossible:

Warning: Cannot modify header information headers already sent by…
Continue reading WordPress: Warning: Cannot modify header information

WordPress: prevent comment spam on wordpress

Hi,

on wordpress based websites comment spam is all around.

If you are hosting WordPress on a apache webserver there is a simple but effective way to refuse automatically created comment spam from bots:
Redirect all HTTP Post requests directed to the wordpress comment form (wp-comments-post.php) and which do not have a referer from your site or has an empty User-Agent string away from your site. For example to the bots localhost 🙂

The only requirement is the apache module mod_rewrite and a .htaccess file in the root folder of your blog.

If not exists, create a .htaccess file within the root directory of your blog, or add the following directive to an already existing .htaccess file. Replace “www.yourdomain.com” with the address of your website.
Continue reading WordPress: prevent comment spam on wordpress