Added rules for WP permalinks