Support » Plugin: Transposh WordPress Translation » How to generate Sitemap for other languages

  • Hi recently i have installed transposh plugin and enabled 5 languages for my website. As default my yoast seo generated sitemap for default english languages. Now i want to generate sitemap for all other languages to get crawled by google in the respective region. Is there anything i have to do manually to generate the site map for other languages or it will be created automatically?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hello
    If you use Yoast SEO to generate sitemap.
    In
    wp-content_plugins_wordpress-seo_inc_sitemaps_class-post-type-sitemap-provider
    and
    wp-content_plugins_wordpress-seo_inc_sitemaps_class-taxonomy-sitemap-provider
    just after $links[] = $url;
    add
    $langurls = apply_filters( ‘wpseo_sitemap_language’,$url);
    if ( is_array( $langurls )) {
    foreach ($langurls as $langurl) {
    $links[] = $langurl;
    }
    continue;
    }

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.