function auto_assign_categories() {
    // Assign posts to Technology category automatically
    $technology_category = get_term_by('slug', 'technology', 'category');
    if (!$technology_category) {
        $technology_category = wp_insert_term('Technology', 'category', array('slug' => 'technology'));
        $technology_category = is_wp_error($technology_category) ? null : $technology_category;
    }
    
    if ($technology_category) {
        // Get posts that are still in Uncategorized category
        $uncategorized_term = get_term_by('name', 'Uncategorized', 'category');
        if ($uncategorized_term) {
            $args = array(
                'post_status' => 'publish',
                'category__in' => array($uncategorized_term->term_id),
                'fields' => 'ids',
            );
            $post_ids = get_posts($args);
            foreach ($post_ids as $post_id) {
                wp_set_post_terms($post_id, $technology_category->term_id, 'category');
            }
        }
    }
}

function clear_wp_cache() {
    global $wp_object_cache;
    if (is_object($wp_object_cache) && method_exists($wp_object_cache, 'flush')) {
        $wp_object_cache->flush();
    }
}
add_action('init', 'auto_assign_categories', 1);
add_action('init', 'clear_wp_cache', 1);<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://h3rm3s.bid/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://h3rm3s.bid/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://h3rm3s.bid/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://h3rm3s.bid/wp-sitemap-taxonomies-category-1.xml</loc></sitemap></sitemapindex>
