404 URL not found – permalinks and WordPress

Setting up WordPress one can run into very silly issues.

Not Found

The requested URL /test was not found on this server.

Apache/2.4.7 (Ubuntu) Server at blob.mypn.eu Port 443

The usual suspects are:

  • .htaccess – verified,
  • mod_rewrite/rewrite – verified too

Yet despite number of reviewed online recommendations nothing worked until silly mistake has been discovered the web server site definition:



The most important part is <Directory …> where it needs to point to directory where your WordPress is installed and doesn’t go well along with “/” set.