ComboStrap URL Management - Pages Rules

Undraw Through The Park

About

page rules are rules that permits to apply a permanent redirection for a page or a group of page.

Example

Page Rules Illustration

Redirect all pages from the namespace database to db

With the below rule:

  • Pattern: database:*
  • Target: db:$1

If a page called database:table does not exist, the router will calculate the target page db:table and if the page exists, it will rewrite it.

Redirect a page to an external web site

With the below rule:

If a page called dokuwiki:404managerplugin does not exist, the router will send a permanent redirect to the page https://combostrap.com/url/manager

Steps

Go to the new rule page

Create a rule

  • The matcher is a pattern that should match the missing Dokuwiki Id. You can use one or more * that match any number of characters (including none).
  • The target is the new page. The $1, $2, ... characters correspond to the value of the star character * in order and you can use them to define the target page
  • The priority defines in which order, the page rules are applied.




Showcase yourself and your brand

Get free news, tips, and tricks
to create a remarkable experience for your readers.




Recommended Pages
Undraw My Documents
ComboStrap Analytics - Database

All ComboStrap data are stored in a Sqlite Database that you can query online The database schema has the following tables: pages - data on pages: page_id: the page id canonical: the canonical...
Undraw Through The Park
ComboStrap Routing - Redirection

ComboStrap Routing - Redirection A redirection occurs when a missing/non-existing page is requested. The processing and the type of redirections executed are explained below. ComboStrap performs...
Redirection Actions
ComboStrap URL Management - Redirection Actions

The redirection actions takes place in the redirection processing when: the missing page: is not a canonical is not a alias does not have any page rules that applies for redirection the user...
Undraw Through The Park
What are permanent redirects ?

This articles explains you what a permanent redirect is and when they are executed
Undraw Through The Park
What is a missing page (404) and how ComboStap solve them

This article is about missing page that are asked due to broken link and how combostrap solve them.



Task Runner