Three fields in the PageForge Template Settings box decide how each page is named and found: the Title Pattern, the Slug Pattern and the Meta Description Pattern. Each one mixes fixed text with placeholders from your data.
One row through all three patterns
Service,City,State,Phone
Roof Repair,St. Louis,MO,314-555-0160
| Field | Pattern | Result |
|---|---|---|
| Title Pattern | {Service} in {City}, {State} | Roof Repair in St. Louis, MO |
| Slug Pattern | {service}-{city}-{state} | roof-repair-st-louis-mo |
| Meta Description Pattern | Need {Service} in {City}? Call {Phone} for a free inspection. | Need Roof Repair in St. Louis? Call 314-555-0160 for a free inspection. |
Title Pattern
The title becomes the page title in WordPress and usually the main heading your theme shows. Spintax works here, so {Fast|Local} {Service} in {City} gives some pages “Fast Roof Repair in St. Louis” and others “Local Roof Repair in St. Louis”. Each page keeps its choice on later runs.
Slug Pattern
The slug is the last part of the URL. PageForge fills in the placeholders, then WordPress cleans the result:
- Letters become lowercase
- Spaces and periods become hyphens, and repeated hyphens are merged
- Other punctuation, such as ampersands and commas, is removed
- Accented letters lose their accents
| Value in the row | Slug part |
|---|---|
| St. Louis | st-louis |
| São Paulo | sao-paulo |
| Heating & Cooling | heating-cooling |
Make sure the pattern gives every row a different slug. Two rows that clean up to the same slug cannot both become pages, so the second is skipped. Adding a column, such as the state, usually solves it. A row whose slug comes out empty is skipped too.
Do not use spintax in the Slug Pattern. It is not applied there, so every option would end up run together in the URL.
Where the slug sits in the full URL depends on the content type and parent page. See Pages, posts, custom post types and URLs.
Meta Description Pattern
Added in version 1.2.3, this optional field builds the meta description for each page. Placeholders and spintax are filled in, and the result is saved to Yoast SEO, Rank Math, SEOPress or All in One SEO, or to PageForge’s own output when no SEO plugin is active. Keep it to roughly 155 characters so search results are less likely to cut it short.
If you leave it empty, PageForge writes a description for you:
- With Service and City columns: “Looking for Roof Repair in St. Louis? Get expert help across MO.”, or the same without the last part when there is no State column
- Otherwise: the page excerpt, or the first words of the page content
A pattern you write yourself is usually more useful than the fallback, because it can include your phone number, price or offer.
SEO title
PageForge also saves an SEO title for each page. When your data has a Service column and a City or State column, the SEO title is built as “Service in City, State”, for example “Roof Repair in St. Louis, MO”. Otherwise the SEO title is the page title from your Title Pattern. The Open Graph and X (Twitter) title and description are filled from the same values, and the canonical URL is the page’s own address.
Note Blank patterns are not empty. An empty Title Pattern falls back to {Service} in {City}, {State} and an empty Slug Pattern to {service}-in-{city}-{state}. Check and preview stops the run if your data lacks those columns.
