Skip to content

RankMath SEO

Armand Tresova edited this page Nov 12, 2024 · 3 revisions

The Cooked plugin now includes dedicated support for RankMath SEO, allowing for dynamic meta titles and descriptions on the Browse Recipe page. This feature is designed to update metadata based on the applied taxonomy filters (e.g., category, cuisine, diet), enhancing SEO and reducing the risk of duplicate content issues for filtered recipe pages on search engines like Google.

Available Variables

The following custom Cooked variables are available in RankMath’s dropdown for the Browse Recipe page. These variables reflect the active filter settings, allowing for dynamic titles and descriptions:

  • cooked_recipe_category - Displays the category that is selected in the filter.
  • cooked_recipe_cuisine - Displays the cuisine type that is selected in the filter (e.g., Italian, Japanese).
  • cooked_recipe_cooking_method - Displays the cooking method that is selected in the filter (e.g., baking, frying).
  • cooked_recipe_diet - Displays the recipe restricted diets that is selected in the filter (e.g., vegan, vegetarian).
  • cooked_recipe_tags - Displays the recipe tag that is selected in the filter.
  • cooked_recipe_filters - Displays any recipe filter that is selected.

How to Implement

  1. Navigate to the Browse Recipe Page in your WordPress admin panel.
  2. Go to Rank Math’s Title & Meta Settings.
  3. Use the dropdown to add the Cooked variables to your SEO title, description, or other meta fields.

Rank-Math-Variables

By using these variables, the metadata on your Browse Recipe page will change based on the active filters, making each filtered view unique to search engines.