DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Static redirects

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed:2010-06-03T21:17:03
Author:Robert Heel
Email:rheel@1drop.de
Info 3:
Info 4:

img-1 img-2 EXT: Static redirects

EXT: Static redirects

Extension Key: ods_redirects

Copyright 2010, Robert Heel, <rheel@1drop.de>

Onedrop Solutions GmbH & Co. KG

Sudetenstraße 26

93073 Neutraubling

www.1drop.de

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Table of Contents

EXT: Static redirects 1

`Introduction 3 <#__RefHeading__772_1969339963>`_

What does it do? 3

Screenshots 3

`Users manual 4 <#__RefHeading__780_1969339963>`_

Create new redirect 4

Mode 5

`Administration 6 <#__RefHeading__788_1969339963>`_

`Known problems 7 <#__RefHeading__796_1969339963>`_

`To-Do list 8 <#__RefHeading__798_1969339963>`_

Introduction

What does it do?

  • Simply manage (permanent 301) redirects in the list view.
  • Multidomain site support.
  • Count the redirect usage.
  • Shows the last referer (the website with the outdated link).
  • Imports the records from realurl.

Screenshots

Backend plugin

img-3

Users manual

Create new redirect

Navigate to the root level of your page and click the “Create new record” button and select the “Redirects” element.

Rahmen1

Element options

Following the options available when setting up/editing a “Redirects” element.

Rahmen1

Domain

Element option

Domain

Description

Limit redirect to a specific domain. If not set, redirect is active for all domains.

Path (e.g. info.html)

Element option

Path (e.g. info.html)

Description

The old path part of the URL.

Mode

Element option

Mode

Description

See “mode” section for examples.

Destination

Element option

Destination

Description

Redirect to this URL. Accepted values:

- Entire URL (“http://example.com/newpath.html”)

- Only the new path (“/newpath.html”)

- Simply the page id (“123”)

Append rest of URL

Element option

Append rest of URL

Description

Append the remaining part of the old URL to the new URL.

Has moved (301)

Element option

Has moved (301)

Description

Do a permanent (301) redirect.

Last referer

Element option

Last referer

Description

Shows the last referer of the URL. This is the page containing the outdated link.

Counter

Element option

Counter

Description

Counts every redirect.

Mode

Following some examples of the various available modes:

oldpath/

Path

oldpath/

Mode

Begins with path

Destination

1

Entered URL

oldpath/example.html

Result

Redirect, because begins with “oldpath/”

oldpath/

Path

oldpath/

Mode

Begins with path

Destination

1

Entered URL

oldpath/?option=1

Result

Redirect, because begins with “oldpath/”

oldpath/

Path

oldpath/

Mode

Begins with path

Destination

1

Entered URL

oldpath

Result

No Redirect, missing trailing “/”

oldpath/

Path

oldpath/

Mode

Path match

Destination

1

Entered URL

oldpath/example.html

Result

No redirect, because path is “oldpath/example.html”

oldpath/

Path

oldpath/

Mode

Path match

Destination

1

Entered URL

oldpath/?option=1

Result

Redirect, because path is “oldpath/”

oldpath/

Path

oldpath/

Mode

Path match

Destination

1

Entered URL

oldpath

Result

Redirect. This is an exception, trailing slash is automatically added to the path

oldpath/

Path

oldpath/

Mode

Path and query string match

Destination

1

Entered URL

oldpath/example.html

Result

No redirect, path mismatch

oldpath/

Path

oldpath/

Mode

Path and query string match

Destination

1

Entered URL

oldpath/?option=1

Result

No redirect, path mismatch

oldpath/

Path

oldpath/

Mode

Path and query string match

Destination

1

Entered URL

oldpath

Result

No redirect, path mismatch

^oldpage([0-9]+)

Path

^oldpage([0-9]+)

Mode

Path and query string regex match

Destination

newpage${1}

Entered URL

oldpage5

Result

Redirect to newpage 5

Administration

You can use the “UPDATE!” function in the extension configuration to import all realurl redirects into this extension.

Known problems

To-Do list

8