---
title: Configuration
description: "The settings page is located at **[MP] Digiforma > Settings**. It is organised into 9 tabs. ## 3.1 API This tab configures the connection to the Digiforma API. | Setting | Description | Recommended value | | --- | ---…"
url: "https://maximepotier.fr/en/docs/configuration-en/"
updated: "2026-03-04"
category: "[MP] Digiforma"
---

# Configuration

The settings page is located at **[MP] Digiforma > Settings**. It is organised into 9 tabs.

## 3.1 API

This tab configures the connection to the Digiforma API.

| Setting | Description | Recommended value |
| --- | --- | --- |
| **API Token** | Your Digiforma Bearer token. Found in Digiforma > API > Settings. | Required — paste your token |

## 3.2 Permalinks

This tab defines the URL slugs for your training pages.

| Setting | Description | Default | Recommended |
| --- | --- | --- | --- |
| **Archive slug** | The URL for the page listing all training courses (e.g. `yoursite.com/formations`) | `formations` | `formations`, `training` or `courses` |
| **Single training slug** | The URL for an individual training page (e.g. `yoursite.com/formation/training-name`) | `formation` | `formation`, `training` or `course` |
| **Category slug** | The URL for training category pages | `categorie-formation` | `categorie-formation` or `training-category` |

> After changing slugs, rewrite rules are automatically updated. If pages show a 404 error, go to **Settings > Permalinks** and click **Save Changes** without modifying anything.

## 3.3 Cache

The cache temporarily stores Digiforma API responses to speed up your site and reduce the number of API calls.

| Setting | Description | Recommended |
| --- | --- | --- |
| **Enable caching** | Turns the caching system on or off | Enabled |
| **Cache duration** | How long data is kept in cache (from 15 minutes to 24 hours) | 1 hour |
| **Auto-flush after sync** | Automatically clears the cache after each synchronisation so the latest data is displayed | Enabled |

## 3.4 SEO

The plugin automatically generates structured data to improve your search engine rankings.

| Setting | Description | Recommended |
| --- | --- | --- |
| **Enable JSON-LD markup** | Generates `Course`, `CourseInstance` and `ItemList` schemas along with Open Graph tags | Enabled |

> If you already use Yoast SEO, Rank Math or All in One SEO, the plugin automatically detects them and disables its own structured data to avoid duplicates.

## 3.5 Template

This tab lets you customise the content displayed on individual training pages using HTML and shortcodes.

| Setting | Description | Recommended |
| --- | --- | --- |
| **Template content** | Custom HTML with `[mpd_field]` shortcodes to compose the training page layout | Customise to suit your needs |

**Available fields for the `[mpd_field]` shortcode:** `description`, `programme`, `public`, `objectifs`, `modalites`, `duree`, `tarif`, `sessions`, `formateurs`, `lien_inscription`

## 3.6 Cron

Automatic synchronisation keeps your training courses up to date without manual intervention.

| Setting | Description | Recommended |
| --- | --- | --- |
| **Enable automatic sync** | Activates scheduled synchronisation via WP-Cron | Enabled |
| **Frequency** | How often to synchronise: hourly, twice daily, or daily | Daily (sufficient for most cases) |

A table displays the **last 10 runs** with the date, status (success/error), number of training courses synchronised and any message.

## 3.7 Notifications

Receive an email after each synchronisation or when issues arise.

| Setting | Description | Recommended |
| --- | --- | --- |
| **Sync summary email** | Sends a summary after each successful synchronisation | As needed |
| **Error alert email** | Sends an alert when a critical sync error occurs | Enabled |
| **Recipient email address** | The address that receives notifications. Leave blank to use the site admin email. | Your email address |

## 3.8 Registrations

This setting connects your website's registration form directly to Digiforma.

| Setting | Description | Recommended |
| --- | --- | --- |
| **Send registrations to Digiforma** | Each registration submitted via the `[mpd_registration_form]` form is automatically sent to Digiforma as a draft trainee | Enabled (if you use the registration form) |

A counter shows how many registrations have already been synchronised with Digiforma.

## 3.9 Maintenance

Cleanup and uninstallation options.

| Setting | Description | Recommended |
| --- | --- | --- |
| **Automatic cleanup of orphaned trainings** | After each sync, training courses absent from Digiforma are processed according to the chosen action | Enabled |
| **Action on orphaned trainings** | What to do with training courses that no longer exist in Digiforma: **Set as draft**, **Move to trash** or **Delete permanently** | Set as draft (safest option) |
| **Manual check** | Button to list orphaned training courses without modifying them | — |
| **Delete ALL data on uninstallation** | Permanently deletes all training courses, instructors, registrations, categories and settings if the plugin is deleted. **Irréversible.** | Disabled (unless you are certain you no longer need the plugin) |

---
