Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Handling Redirects

Desislava Mihaylova edited this pageMay 27, 2022 ·2 revisions

You have to use redirects when the file name, slug, or path of an article has been changed for some reason.

To handle this scenario use theprevious_url property.

Example 1: Using theprevious_url property
---title: Overviewpage_title: Getting Started Overview | RadSplitter for ASP.NET AJAX Documentationdescription: Overviewslug: splitter/getting-started/overviewprevious_url: controls/splitter/getting-started/getting-starter-overviewtags: overviewpublished: Trueposition: 0---

Note that comma characters inprevious_url are considered incorrect and are not supported. If you need to redirect a comma-containingprevious_url value, either leave the article without a redirect or build and commit a rule directly in theweb.config file.

As shown inExample 1, the path set to theprevious_url property has to exclude only thehost andbase url of the URL. Therefore, if the old URL is:

http://host/devtools/aspnet-ajax/controls/splitter/getting-started/getting-starter-overview

the value to be used will be:

/controls/splitter/getting-started/getting-starter-overview

Note that multiple redirects are not supported. This means that:

  • A single article can be redirected to a single article, not to many, that is, a givenprevious_url value can be present on only one file.

  • Several articles cannot be redirected to a single article. If you need such a rule, build and commit one in theweb.config file. Most likely, you will be able to handle an entire folder redirect with a single rule.

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp