Project

General

Profile

Actions

Bug #91936

closed

Documentation missing to disable automatic creation of redirects on slug change

Added by Andreas Kiessling over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
2020-08-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In 10 LTS, redirects are automatically created when a slug changes.
This is problematic and sometimes not wanted.

Example: if a site is still in development and a lot of initial content is created, every "copy page and update slug" would create a redirect entry.
Current solution is to simply disable the redirect extension...

There needs to be an option to disable this behaviour, ideally in the site configuration or at least globally.

There are also other problems with the current implementation, see #91792 and #91751

The documentation of how to disable the automatic creation of redirects is hidden in the changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.1/Feature-89115-Auto-createRedirectsOnSlugChanges.html
This needs to be included in the redirects extension to show up at https://docs.typo3.org/Home/SystemExtensions.html


Related issues 4 (3 open1 closed)

Related to TYPO3 Core - Bug #91751: Redirects are not tied to site configuation breaking referential integrity and making it impossible to test on/transfer from staging systemsNew2020-07-06

Actions
Related to TYPO3 Core - Bug #91792: Automatically created redirects are not created using the DataHandlerNew2020-07-13

Actions
Related to TYPO3 Core - Task #89301: Streamline automatic slug & redirects handlingAccepted2019-09-29

Actions
Related to TYPO3 Core - Task #88570: Documentation is missing for new system extension "redirects"ClosedSybille Peters2019-06-17

Actions
Actions #1

Updated by Andreas Kiessling over 3 years ago

  • Related to Bug #91751: Redirects are not tied to site configuation breaking referential integrity and making it impossible to test on/transfer from staging systems added
Actions #2

Updated by Andreas Kiessling over 3 years ago

  • Related to Bug #91792: Automatically created redirects are not created using the DataHandler added
Actions #3

Updated by Andreas Kiessling over 3 years ago

  • Subject changed from Option to disable automatic creation of redirects on slug change to Option required to disable automatic creation of redirects on slug change
Actions #4

Updated by Andreas Kienast over 3 years ago

  • Status changed from New to Needs Feedback

You can disable this feature in your site configuration, please see https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.1/Feature-89115-Auto-createRedirectsOnSlugChanges.html.

Does this help you?

Actions #5

Updated by Andreas Kiessling over 3 years ago

  • Subject changed from Option required to disable automatic creation of redirects on slug change to Documentation missing to disable automatic creation of redirects on slug change
  • Description updated (diff)

Hi Andreas,

that looks good, thanks for the pointer!
I've updated the ticket, because this needs to be officially documented and not put just in the changelog.

Actions #6

Updated by Andreas Kiessling over 3 years ago

  • Description updated (diff)
Actions #7

Updated by Riccardo De Contardi about 3 years ago

I tried to test the feature as stated on the documentation link: https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.1/Feature-89115-Auto-createRedirectsOnSlugChanges.html by putting the code on my config.yaml file

on version 10.4.12 (fresh installation with composer)

And I found that

- using the suggested code works (e.g.)

settings:
    redirects:
        autoUpdateSlugs: false
        autoCreateRedirects: false

actually disables the automatic recreation of the redirect;

also a test like:

settings:
    redirects:
        autoUpdateSlugs: true
        autoCreateRedirects: true
        httpStatusCode: 303

works, too: the redirect is created automatically and listed as a 303 on the Redirects module.

Instead it does not work if I put the redirects node directly on the root of the config.yaml file as suggested by Jörn Wagner.

The only thing I found it wrong on the documentation is the indentation of the snippet of code; I had to adjust it on the config.yaml file.

Is it sufficient to consider this issue closed?

@Jörn Wagner may I ask you to test it again?

Actions #8

Updated by Jörn Wagner about 3 years ago

Sorry, it seems to have been a caching problem while trying multiple things to deactivate autoCreateRedirects.

Imo this ticket should not be closed but documented as Andreas stated.

Actions #9

Updated by Daniel Goerz about 3 years ago

  • Related to Task #89301: Streamline automatic slug & redirects handling added
Actions #10

Updated by Sybille Peters about 3 years ago

  • Related to Task #88570: Documentation is missing for new system extension "redirects" added
Actions #11

Updated by Sybille Peters about 3 years ago

  • Category set to Documentation
Actions #12

Updated by Sybille Peters over 2 years ago

  • Status changed from Needs Feedback to Closed

Documentation was published today: https://docs.typo3.org/c/typo3/cms-redirects/master/en-us/Setup/Index.html#site-configuration

A PR was added to add redirects documentation to system extension page https://docs.typo3.org/Home/SystemExtensions.html

Should also be changed in the next few days.

Please check if this contains the information that was missing - I think it should. Closing.

Actions #13

Updated by Jörn Wagner over 2 years ago

Sybille Peters wrote in #note-12:

Documentation was published today: https://docs.typo3.org/c/typo3/cms-redirects/master/en-us/Setup/Index.html#site-configuration

Thank you, that's great!

Actions

Also available in: Atom PDF