All Rank Forge options use the rankforge_ prefix and are stored in wp_options.
Core Settings
| Option Key | Type | Description | Default |
|---|---|---|---|
rankforge_settings | array | Main plugin settings | [] |
rankforge_settings['auto_analyze'] | bool | Auto-analyze on post save | true |
rankforge_settings['auto_meta'] | bool | Auto-generate meta if empty; PRO-only and forced false when can('meta_generator') is false | false |
rankforge_settings['schema_enabled'] | bool | Enable JSON-LD output | true |
rankforge_settings['internal_links_enabled'] | bool | Internal link suggestions; PRO-only and forced false when can('internal_links') is false | false |
Meta Templates
| Option Key | Type | Description | |
|---|---|---|---|
rankforge_title_separator | string | Separator character ( | default) |
rankforge_title_templates | array | Global templates by post type | |
rankforge_tax_templates | array | Taxonomy templates by {tax}_{term_id} |
Feature Options
| Option Key | Type | Description |
|---|---|---|
rankforge_sitemap_settings | array | Sitemap config |
rankforge_robots_txt | string | Custom robots.txt |
rankforge_archive_robots | array | Per-archive noindex |
rankforge_default_og_image | string | Default OG image URL |
rankforge_auto_links_enabled | bool | Auto internal linking; PRO-only and forced false when can('auto_links') is false |
rankforge_auto_links_max | int | Max auto-links (1-10); reset to 3 when auto-links are unavailable |
rankforge_local_seo | array | Local business settings |
GSC Options
| Option Key | Description |
|---|---|
rankforge_gsc_client_id | OAuth Client ID |
rankforge_gsc_client_secret | OAuth Client Secret |
rankforge_gsc_access_token | Access token |
rankforge_gsc_refresh_token | Refresh token |
rankforge_gsc_token_expires | Expiry timestamp |
rankforge_gsc_property | GSC property URL |
rankforge_gsc_rankings_cache | Cached rankings |
rankforge_gsc_decay_cache | Cached decay data |
rankforge_gsc_last_sync | Last sync timestamp |
Reading and Writing Options
php
$settings = get_option( 'rankforge_settings', [] );
$settings['auto_analyze'] = false;
update_option( 'rankforge_settings', $settings );
// Export all Rank Forge options
global $wpdb;
$options = $wpdb->get_results(
"SELECT option_name, option_value FROM {$wpdb->options}
WHERE option_name LIKE 'rankforge_%' ORDER BY option_name"
);
$export = [];
foreach ( $options as $opt ) {
$export[ $opt->option_name ] = maybe_unserialize( $opt->option_value );
}
file_put_contents( WP_CONTENT_DIR . '/rankforge-options-backup.json', wp_json_encode( $export, JSON_PRETTY_PRINT ) );—