---
title: Enabling friendly URLs for forum posts
related:
  - https://docs.kentico.com/k81/configuring-kentico/search-engine-optimization.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Forums display content based on the current values of the **forumid** and **threadid** query string parameters. By default, the URL of a forum thread can look like the following:

- **/Forums.aspx?forumid=3\&threadid=12**

A friendly URL of the same forum thread looks like the following:

- **/Forums/f4/t13/Frequently-asked-questions.aspx**

Having your forum URLs in this format is a good search engine optimization (SEO) practice.

## Enabling friendly URLs

To enable friendly URLs for forum posts, you need to:

1. Set the following properties of the **Forum group** web part:
   - **Use friendly URLs**: enabled
   - **Friendly base URL** - enter the base part of the URL, which is displayed after the domain name, e.g. **/Forums** for the example above and for the page aliases listed below.
   - **URL extension** - extension that will be used at the end of the friendly URL.
2. Assign the following page aliases to the page containing the Forum group web part. The **/Forums** part of each alias must be equal to the value in the Friendly base URL property of the Forum group web part:
   - /Forums/f{forumid}/{anything}
   - /Forums/f{forumid}/fp{fpage}/{anything}
   - /Forums/f{forumid}/t{threadid}/{anything}
   - /Forums/f{forumid}/fp{fpage}/t{threadid}/{anything}
   - /Forums/f{forumid}/t{threadid}/tp{tpage}/{anything}
   - /Forums/f{forumid}/fp{fpage}/t{threadid}/tp{tpage}/{anything}

## Single forum friendly URLs

If you want to enable friendly URLs for a single forum, the **Forum (Single forum - General)** web part should be set the same way as described in Step 1, but only the following two page aliases need to be added to the page:

- /Forums/t{threadid}/{anything}
- /Forums/t{threadid}/tp{tpage}/{anything}
