Inconvenient URL rewriting for Catalog Items in SharePoint 2013

The ability of defining user- and search engines-friendly URLs for content published from Catalogs in SharePoint 2013 is a great advantage from the web content publishing perspective. There is however one thing that you have to take into account for the URL rewriting for Catalog Items to work.