select * from properties where permalinks like 'blog.php'