Skip to content
  1. Extras
  2. SeoFilter

SeoFilter

SeoFilter generates virtual pages from filter params, replaces content via AJAX and more.

How it works

  1. Create a rule with fields and templates for URL, title and texts.
  2. Get dozens, hundreds or thousands of pages.
  3. Virtual pages stored in a table; set unique text, URL, item count per page.

In text templates, besides simple substitution (e.g. "red" for {$color}), you can use declensions (red's, to red), counts {$count}, resource id {$id}, page number {$page}. See Substitutions in SEO texts.

Fenom handles templates, so you can use conditions, modifiers, resource fields and more.

Integrates with mFilter2 (mSearch2), replaces titles, texts, breadcrumbs on the fly.

Use SeoFilter for flexible tag-based SEO blogs. See guide. Can output menus from virtual pages (with/without articles per tag). With pdoResources from pdoTools; mSearch2 optional. pdoTools required.

First-run tips

  1. Check system settings: enable friendly URLs; configure SeoFilter - default replacement fields, counts, options. For declensions, get token from morpher.ru.

  2. Add fields - all used in filters (so SeoFilter can count results).

  3. Create rule - add fields, templates for link, texts; set JSON conditions for counts.

  4. Adjust layout - add classes (sf_h1, sf_content…) for AJAX replacement; placeholders. Example: <h1 class="sf_h1">[[!+sf.h1:default=*pagetitle]]</h1>

  5. Verify - words correct, pages generated, content replaced. (Option to disable "empty" pages → 404 where no results.)

Component objects

Field

Field, filter, column - different names for same concept. Important: difference between msProductData, modResource, msProductOptions. See Field.

Rule

Main entity linking page, fields and values for URLs. See Rule.

Dictionary

Words collected from fields, new products or manually. See Dictionary.

URL table

Generated links stored here when saving rule. New words auto-generate links. See URL table.