Skip to content

[TASK] Forward all very outdated /typo3cms/ links with 301 to main#231

Draft
linawolf wants to merge 7 commits intoTYPO3GmbH:developfrom
linawolf:task/redirects
Draft

[TASK] Forward all very outdated /typo3cms/ links with 301 to main#231
linawolf wants to merge 7 commits intoTYPO3GmbH:developfrom
linawolf:task/redirects

Conversation

@linawolf
Copy link
Copy Markdown
Contributor

No description provided.

@linawolf
Copy link
Copy Markdown
Contributor Author

@froemken I would be happy if you could review

location = /About.html {
return 303 /Home/About.html;
}
location = /Contribute/Index.html {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redirect removed, but still functional. But it redirects to another location now

location = /Tips/DocumentationWriters/Index.html {
return 303 /m/typo3/docs-how-to-document/main/en-us/Preface/Index.html#getting-started;
}
location = /Tips/TipOfTheDay/Index.html {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed. Redirect to given target still working.

location = /Tips/UsingThisSite/Index.html {
return 303 /Home/About/UsingThisSite/Index.html;
}
location ~ ^/News(.*)$ {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't have an example to test that

# Rewrite Upgrade guide links to new position in TYPO3 explained
location ~ ^/m/typo3/guide-installation/(main|13.4|12.4)/en-us/(.*)$ {
return 303 /m/typo3/reference-coreapi/$1/en-us/Administration/Upgrade/$2;
return 301 /m/typo3/reference-coreapi/$1/en-us/Administration/Upgrade/$2;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An installation guide should redirect to the upgrade guide?

# Move HMENU special properties into data processor
location ~ ^/m/typo3/reference-coreapi/(main|13.4)/en-us/Configuration/TypoScript/Syntax/(?!Tmenu)(.*)$ {
return 303 /m/typo3/reference-typoscript/$1/en-us/DataProcessing/MenuProcessor/$2;
return 301 /m/typo3/reference-typoscript/$1/en-us/DataProcessing/MenuProcessor/$2;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe move up one position. This looks more greedy

# Rewrite Fluid VH reference links to new position
location ~ ^/typo3cms/ViewHelperReference/latest(.*)$ {
return 303 /other/typo3/view-helper-reference/main/en-us$1;
return 301 /other/typo3/view-helper-reference/main/en-us$1;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Path "other" looks very generic and may change in near future. Are you sure we should redirect to a "temporary" path via 301?

}
location ~ ^/typo3cms/ViewHelperReference(.*)$ {
return 303 /other/typo3/view-helper-reference/main/en-us$1;
return 301 /other/typo3/view-helper-reference/main/en-us$1;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Path "other" looks very generic and may change in near future. Are you sure we should redirect to a "temporary" path via 301?


# Redirect URLs of old ViewHelper reference to new ViewHelper reference for 12.4 and main
# (11 and below are static)
location ~ ^/other/typo3/view-helper-reference/(main|12.4)/en-us/typo3/backend/latest/(.*) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return 303 /other/typo3/view-helper-reference/$1/en-us/Backend/$2;
return 301 /other/typo3/view-helper-reference/$1/en-us/Backend/$2;
}
location ~ ^/other/typo3/view-helper-reference/(main|12.4)/en-us/typo3/core/latest/(.*) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return 303 /other/typo3/view-helper-reference/$1/en-us/Core/$2;
return 301 /other/typo3/view-helper-reference/$1/en-us/Core/$2;
}
location ~ ^/other/typo3/view-helper-reference/(main|12.4)/en-us/(?:typo3fluid/fluid|typo3/fluid)/latest/(.*) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

13.4?

@linawolf linawolf marked this pull request as draft July 1, 2025 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants