.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ===================== 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: EXT: Static redirects ===================== Extension Key: **ods\_redirects** Copyright 2010, Robert Heel, 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: Table of Contents ----------------- `EXT: Static redirects 1 <#__RefHeading__770_1969339963>`_ **`Introduction 3 <#__RefHeading__772_1969339963>`_** `What does it do? 3 <#__RefHeading__774_1969339963>`_ `Screenshots 3 <#__RefHeading__812_1021393436>`_ **`Users manual 4 <#__RefHeading__780_1969339963>`_** `Create new redirect 4 <#__RefHeading__784_1969339963>`_ `Mode 5 <#__RefHeading__898_580874952>`_ **`Administration 6 <#__RefHeading__788_1969339963>`_** **`Known problems 7 <#__RefHeading__796_1969339963>`_** **`To-Do list 8 <#__RefHeading__798_1969339963>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: 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: Screenshots ^^^^^^^^^^^ .. _Backend-plugin: Backend plugin """""""""""""" |img-3| .. _Users-manual: Users manual ------------ .. _Create-new-redirect: Create new redirect ^^^^^^^^^^^^^^^^^^^ Navigate to the root level of your page and click the “Create new record” button and select the “Redirects” element. |img-4| .. _Element-options: Element options ^^^^^^^^^^^^^^^ Following the options available when setting up/editing a “Redirects” element. |img-4| .. ### BEGIN~OF~TABLE ### .. _Domain: Domain """""" .. container:: table-row Element option Domain Description Limit redirect to a specific domain. If not set, redirect is active for all domains. .. _Path-e-g-info-html: Path (e.g. info.html) """"""""""""""""""""" .. container:: table-row Element option Path (e.g. info.html) Description The old path part of the URL. .. _Mode: Mode """" .. container:: table-row Element option Mode Description See “mode” section for examples. .. _Destination: Destination """"""""""" .. container:: table-row 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: Append rest of URL """""""""""""""""" .. container:: table-row Element option Append rest of URL Description Append the remaining part of the old URL to the new URL. .. _Has-moved-301: Has moved (301) """"""""""""""" .. container:: table-row Element option Has moved (301) Description Do a permanent (301) redirect. .. _Last-referer: Last referer """""""""""" .. container:: table-row Element option Last referer Description Shows the last referer of the URL. This is the page containing the outdated link. .. _Counter: Counter """"""" .. container:: table-row Element option Counter Description Counts every redirect. .. ###### END~OF~TABLE ###### .. _Mode: Mode ^^^^ Following some examples of the various available modes: .. ### BEGIN~OF~TABLE ### .. _oldpath: oldpath/ """""""" .. container:: table-row Path oldpath/ Mode Begins with path Destination 1 Entered URL oldpath/example.html Result Redirect, because begins with “oldpath/” .. _oldpath: oldpath/ """""""" .. container:: table-row Path oldpath/ Mode Begins with path Destination 1 Entered URL oldpath/?option=1 Result Redirect, because begins with “oldpath/” .. _oldpath: oldpath/ """""""" .. container:: table-row Path oldpath/ Mode Begins with path Destination 1 Entered URL oldpath Result No Redirect, missing trailing “/” .. _oldpath: oldpath/ """""""" .. container:: table-row Path oldpath/ Mode Path match Destination 1 Entered URL oldpath/example.html Result No redirect, because path is “oldpath/example.html” .. _oldpath: oldpath/ """""""" .. container:: table-row Path oldpath/ Mode Path match Destination 1 Entered URL oldpath/?option=1 Result Redirect, because path is “oldpath/” .. _oldpath: oldpath/ """""""" .. container:: table-row 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: oldpath/ """""""" .. container:: table-row Path oldpath/ Mode Path and query string match Destination 1 Entered URL oldpath/example.html Result No redirect, path mismatch .. _oldpath: oldpath/ """""""" .. container:: table-row Path oldpath/ Mode Path and query string match Destination 1 Entered URL oldpath/?option=1 Result No redirect, path mismatch .. _oldpath: oldpath/ """""""" .. container:: table-row Path oldpath/ Mode Path and query string match Destination 1 Entered URL oldpath Result No redirect, path mismatch .. _oldpage-0-9: ^oldpage([0-9]+) """""""""""""""" .. container:: table-row Path ^oldpage([0-9]+) Mode Path and query string regex match Destination newpage${1} Entered URL oldpage5 Result Redirect to newpage 5 .. ###### END~OF~TABLE ###### .. _Administration: Administration -------------- You can use the “UPDATE!” function in the extension configuration to import all realurl redirects into this extension. .. _Known-problems: Known problems -------------- .. _To-Do-list: To-Do list ---------- 8 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. |img-2| image:: img-2.png .. :border: 0 .. :height: 23 .. :id: Grafik2 .. :name: Grafik2 .. :width: 86 .. |img-3| image:: img-3.png .. :align: bottom .. :border: 0 .. :height: 431 .. :id: Grafik1 .. :name: Grafik1 .. :width: 503 .. |img-4| image:: data: :alt: Rahmen1 .. :align: bottom .. :id: Rahmen1 .. :name: Rahmen1