Skip to content

Commit

Permalink
Add Redirects from TypoScript in 45 Minutes to Tsref
Browse files Browse the repository at this point in the history
The contetn was moved
  • Loading branch information
linawolf authored Oct 28, 2024
1 parent e595b8c commit 647354b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions config/nginx/redirects.conf
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ location ~ ^/m/typo3/guide-installation/(main|13.4|12.4)/en-us/(.*)$ {
return 303 /m/typo3/reference-coreapi/$1/en-us/Administration/Upgrade/$2;
}

# Rewrite TypoScript in 45 min guide links to new position in TypoScript reference
location ~ ^/m/typo3/tutorial-typoscript-in-45-minutes/(main|13.4|12.4)/en-us/(.*)$ {
return 303 /m/typo3/reference-typoscript/$1/en-us/Guide/$2;
}

# Rewrite Fluid VH reference links to new position
location ~ ^/typo3cms/ViewHelperReference/latest(.*)$ {
return 303 /other/typo3/view-helper-reference/main/en-us$1;
Expand Down Expand Up @@ -489,10 +494,10 @@ location ~ ^/typo3cms/TyposcriptIn45MinutesTutorial/7.6(.*) {
return 303 /m/typo3/tutorial-typoscript-in-45-minutes/7.6/en-us$1;
}
location ~ ^/typo3cms/TyposcriptIn45MinutesTutorial/(master|main|stable|latest)(.*) {
return 303 /m/typo3/tutorial-typoscript-in-45-minutes/main/en-us$2;
return 303 /m/typo3/reference-typoscript/main/en-us/Guide/$2;
}
location ~ ^/typo3cms/TyposcriptIn45MinutesTutorial(.*) {
return 303 /m/typo3/tutorial-typoscript-in-45-minutes/main/en-us$1;
return 303 /m/typo3/reference-typoscript/main/en-us/Guide/$1;
}

# typo3/tutorial-templating-with-fluid
Expand Down

0 comments on commit 647354b

Please sign in to comment.