Skip to content

Commit

Permalink
chore(redirects): add redirects for Modeler
Browse files Browse the repository at this point in the history
  • Loading branch information
mboskamp committed Nov 6, 2024
1 parent c100b2b commit d1d8c3b
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
39 changes: 39 additions & 0 deletions config/live/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -592,3 +592,42 @@ RewriteRule ^api-references/(.*) /manual/7.3/api-references/$1 [R=301,L]
RewriteRule ^real-life/(.*) /manual/7.3/real-life/$1 [R=301,L]
RewriteRule ^index.html$ /manual/7.3/index.html [R=301,L]
RewriteRule ^single-page.html$ /manual/7.3/single-page.html [R=301,L]

# RewriteRule Modeler Latest
RewriteRule ^/manual/latest/modeler/$ https://docs.camunda.io/docs/components/modeler/bpmn/modeler-bpmn/ [R=301,L]
RewriteRule ^/manual/latest/modeler/bpmn/$ https://docs.camunda.io/docs/components/modeler/about-modeler/ [R=301,L]
RewriteRule ^/manual/latest/modeler/dmn/$ https://docs.camunda.io/docs/components/modeler/dmn/camunda-modeler-dmn/ [R=301,L]
RewriteRule ^/manual/latest/modeler/forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
#RewriteRule ^/manual/latest/modeler/element-templates/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/element-templates/camunda-modeler-element-templates/ [R=301,L]
RewriteRule ^/manual/latest/modeler/element-templates/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/element-templates/about-templates/ [R=301,L]
#RewriteRule ^/manual/latest/reference/forms/camunda-forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
RewriteRule ^/manual/latest/installation/camunda-modeler/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/install-the-modeler/ [R=301,L]
RewriteRule ^/manual/latest/introduction/licenses/#license https://docs.camunda.io/docs/reference/licenses/#camunda-modeler [R=301,L]
RewriteRule ^/manual/latest/introduction/licenses/#third-party-libraries-1 https://docs.camunda.io/docs/reference/dependencies/ [R=301,L]
RewriteRule ^/manual/latest/introduction/supported-environments/#camunda-modeler https://docs.camunda.io/docs/reference/supported-environments/#camunda-modeler [R=301,L]

# RewriteRule Modeler Develop
RewriteRule ^/manual/develop/modeler/$ https://docs.camunda.io/docs/components/modeler/bpmn/modeler-bpmn/ [R=301,L]
RewriteRule ^/manual/develop/modeler/bpmn/$ https://docs.camunda.io/docs/components/modeler/about-modeler/ [R=301,L]
RewriteRule ^/manual/develop/modeler/dmn/$ https://docs.camunda.io/docs/components/modeler/dmn/camunda-modeler-dmn/ [R=301,L]
RewriteRule ^/manual/develop/modeler/forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
#RewriteRule ^/manual/develop/modeler/element-templates/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/element-templates/camunda-modeler-element-templates/ [R=301,L]
RewriteRule ^/manual/develop/modeler/element-templates/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/element-templates/about-templates/ [R=301,L]
#RewriteRule ^/manual/develop/reference/forms/camunda-forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
RewriteRule ^/manual/develop/installation/camunda-modeler/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/install-the-modeler/ [R=301,L]
RewriteRule ^/manual/develop/introduction/licenses/#license https://docs.camunda.io/docs/reference/licenses/#camunda-modeler [R=301,L]
RewriteRule ^/manual/develop/introduction/licenses/#third-party-libraries-1 https://docs.camunda.io/docs/reference/dependencies/ [R=301,L]
RewriteRule ^/manual/develop/introduction/supported-environments/#camunda-modeler https://docs.camunda.io/docs/reference/supported-environments/#camunda-modeler [R=301,L]

#RewriteRule Modeler 7.17
RewriteRule ^/manual/7.17/modeler/$ https://docs.camunda.io/docs/components/modeler/bpmn/modeler-bpmn/ [R=301,L]
RewriteRule ^/manual/7.17/modeler/bpmn/$ https://docs.camunda.io/docs/components/modeler/about-modeler/ [R=301,L]
RewriteRule ^/manual/7.17/modeler/dmn/$ https://docs.camunda.io/docs/components/modeler/dmn/camunda-modeler-dmn/ [R=301,L]
RewriteRule ^/manual/7.17/modeler/forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
#RewriteRule ^/manual/7.17/modeler/element-templates/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/element-templates/camunda-modeler-element-templates/ [R=301,L]
RewriteRule ^/manual/7.17/modeler/element-templates/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/element-templates/about-templates/ [R=301,L]
#RewriteRule ^/manual/7.17/reference/forms/camunda-forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
RewriteRule ^/manual/7.17/installation/camunda-modeler/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/install-the-modeler/ [R=301,L]
RewriteRule ^/manual/7.17/introduction/licenses/#license https://docs.camunda.io/docs/reference/licenses/#camunda-modeler [R=301,L]
RewriteRule ^/manual/7.17/introduction/licenses/#third-party-libraries-1 https://docs.camunda.io/docs/reference/dependencies/ [R=301,L]
RewriteRule ^/manual/7.17/introduction/supported-environments/#camunda-modeler https://docs.camunda.io/docs/reference/supported-environments/#camunda-modeler [R=301,L]
39 changes: 39 additions & 0 deletions config/stage/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -587,3 +587,42 @@ RewriteRule ^api-references/(.*) /manual/7.3/api-references/$1 [R=301,L]
RewriteRule ^real-life/(.*) /manual/7.3/real-life/$1 [R=301,L]
RewriteRule ^index.html$ /manual/7.3/index.html [R=301,L]
RewriteRule ^single-page.html$ /manual/7.3/single-page.html [R=301,L]

# RewriteRule Modeler Latest
RewriteRule ^/manual/latest/modeler/$ https://docs.camunda.io/docs/components/modeler/bpmn/modeler-bpmn/ [R=301,L]
RewriteRule ^/manual/latest/modeler/bpmn/$ https://docs.camunda.io/docs/components/modeler/about-modeler/ [R=301,L]
RewriteRule ^/manual/latest/modeler/dmn/$ https://docs.camunda.io/docs/components/modeler/dmn/camunda-modeler-dmn/ [R=301,L]
RewriteRule ^/manual/latest/modeler/forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
#RewriteRule ^/manual/latest/modeler/element-templates/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/element-templates/camunda-modeler-element-templates/ [R=301,L]
RewriteRule ^/manual/latest/modeler/element-templates/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/element-templates/about-templates/ [R=301,L]
#RewriteRule ^/manual/latest/reference/forms/camunda-forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
RewriteRule ^/manual/latest/installation/camunda-modeler/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/install-the-modeler/ [R=301,L]
RewriteRule ^/manual/latest/introduction/licenses/#license https://docs.camunda.io/docs/reference/licenses/#camunda-modeler [R=301,L]
RewriteRule ^/manual/latest/introduction/licenses/#third-party-libraries-1 https://docs.camunda.io/docs/reference/dependencies/ [R=301,L]
RewriteRule ^/manual/latest/introduction/supported-environments/#camunda-modeler https://docs.camunda.io/docs/reference/supported-environments/#camunda-modeler [R=301,L]

# RewriteRule Modeler Develop
RewriteRule ^/manual/develop/modeler/$ https://docs.camunda.io/docs/components/modeler/bpmn/modeler-bpmn/ [R=301,L]
RewriteRule ^/manual/develop/modeler/bpmn/$ https://docs.camunda.io/docs/components/modeler/about-modeler/ [R=301,L]
RewriteRule ^/manual/develop/modeler/dmn/$ https://docs.camunda.io/docs/components/modeler/dmn/camunda-modeler-dmn/ [R=301,L]
RewriteRule ^/manual/develop/modeler/forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
#RewriteRule ^/manual/develop/modeler/element-templates/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/element-templates/camunda-modeler-element-templates/ [R=301,L]
RewriteRule ^/manual/develop/modeler/element-templates/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/element-templates/about-templates/ [R=301,L]
#RewriteRule ^/manual/develop/reference/forms/camunda-forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
RewriteRule ^/manual/develop/installation/camunda-modeler/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/install-the-modeler/ [R=301,L]
RewriteRule ^/manual/develop/introduction/licenses/#license https://docs.camunda.io/docs/reference/licenses/#camunda-modeler [R=301,L]
RewriteRule ^/manual/develop/introduction/licenses/#third-party-libraries-1 https://docs.camunda.io/docs/reference/dependencies/ [R=301,L]
RewriteRule ^/manual/develop/introduction/supported-environments/#camunda-modeler https://docs.camunda.io/docs/reference/supported-environments/#camunda-modeler [R=301,L]

#RewriteRule Modeler 7.17
RewriteRule ^/manual/7.17/modeler/$ https://docs.camunda.io/docs/components/modeler/bpmn/modeler-bpmn/ [R=301,L]
RewriteRule ^/manual/7.17/modeler/bpmn/$ https://docs.camunda.io/docs/components/modeler/about-modeler/ [R=301,L]
RewriteRule ^/manual/7.17/modeler/dmn/$ https://docs.camunda.io/docs/components/modeler/dmn/camunda-modeler-dmn/ [R=301,L]
RewriteRule ^/manual/7.17/modeler/forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
#RewriteRule ^/manual/7.17/modeler/element-templates/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/element-templates/camunda-modeler-element-templates/ [R=301,L]
RewriteRule ^/manual/7.17/modeler/element-templates/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/element-templates/about-templates/ [R=301,L]
#RewriteRule ^/manual/7.17/reference/forms/camunda-forms/$ https://docs.camunda.io/docs/guides/utilizing-forms/ [R=301,L]
RewriteRule ^/manual/7.17/installation/camunda-modeler/$ https://docs.camunda.io/docs/components/modeler/camunda-modeler/install-the-modeler/ [R=301,L]
RewriteRule ^/manual/7.17/introduction/licenses/#license https://docs.camunda.io/docs/reference/licenses/#camunda-modeler [R=301,L]
RewriteRule ^/manual/7.17/introduction/licenses/#third-party-libraries-1 https://docs.camunda.io/docs/reference/dependencies/ [R=301,L]
RewriteRule ^/manual/7.17/introduction/supported-environments/#camunda-modeler https://docs.camunda.io/docs/reference/supported-environments/#camunda-modeler [R=301,L]

0 comments on commit d1d8c3b

Please sign in to comment.