Support Log in

43. Integration with Lang Forge (Multilingual SEO)

Developer Guide
Prefer video? Watch the Rank Forge tutorials 9 short guides covering every feature Watch

When used alongside Lang Forge (part of the Forge Suite), Rank Forge meta fields and templates work per-language.

How It Works

Lang Forge stores translations as separate posts linked via the _langforge_group_id meta. Each translated post has its own independent set of Rank Forge meta:

  • _rankforge_meta_title — set per-language
  • _rankforge_meta_description — set per-language
  • _rankforge_focus_keyword — set per-language
  • Schema, robots, and all other meta are per-post

Setting Meta for Each Language

php
// Original English post
$en_id = 42;
update_post_meta( $en_id, '_rankforge_meta_title', 'WordPress SEO Guide | MyBlog' );
update_post_meta( $en_id, '_rankforge_focus_keyword', 'wordpress seo' );

// Spanish translation (separate post linked via Lang Forge)
$es_id = 108;
update_post_meta( $es_id, '_rankforge_meta_title', 'Guia de SEO para WordPress | MyBlog' );
update_post_meta( $es_id, '_rankforge_focus_keyword', 'seo wordpress' );

// Analyze each language version independently
RANKFORGE_Analyzer::instance()->analyze( $en_id );
RANKFORGE_Analyzer::instance()->analyze( $es_id );

Hreflang Tags

Lang Forge outputs hreflang tags automatically. Rank Forge does not duplicate this — the two plugins complement each other without conflict.

Multilingual Sitemaps

Each language version appears as a separate URL in the sitemap. Since Lang Forge creates separate posts per language, each is included with its own entry.

—

Forge AI Assistant Online

Hi! I'm the Rank Forge AI assistant. Ask me anything about the plugin — setup, features, troubleshooting, or development.

Just now
Powered by Forge AI · Browse docs