Skip to content

Commit

Permalink
FIX Don't redirect older reference section to developer guides and ot…
Browse files Browse the repository at this point in the history
…her minor rewrite corrections.
  • Loading branch information
camfindlay committed Dec 20, 2015
1 parent 5a334c2 commit b1f2601
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
RewriteRule ^(.*)/howto/simple-contact-form/?$ /$1/developer_guides/forms/how_tos/simple_contact_form [R=301,L]

RewriteRule ^en/installation/?$ /en/getting_started/installation [R=301,L]

RewriteCond %{REQUEST_URI} !(3.0|2.4)
RewriteRule ^(.*)/installation/common-problems/?$ /$1/getting_started/installation/common_problems [R=301,L]
#
Expand Down Expand Up @@ -121,17 +122,20 @@
RewriteCond %{REQUEST_URI} !(3.0|2.4)
RewriteRule ^(.*)/misc/release-process/?$ /$1/contributing/release_process [R=301,L]
#
RewriteCond %{REQUEST_URI} !en/2.4/topics/reference/requirements

RewriteCond %{REQUEST_URI} !(3.0|2.4)
RewriteRule ^(.*)/reference/?$ /$1/developer_guides [R=301,L]

RewriteCond %{REQUEST_URI} !en/2.4/topics/reference/requirements
RewriteRule ^en/2.4/topics/reference/requirements/?$ /en/2.4/reference/requirements [R=301,L]
#
RewriteCond %{REQUEST_URI} !(3.0|2.4)
RewriteRule ^(.*)/reference/aspects/?$ /$1/developer_guides/extending/aspects [R=301,L]
#
RewriteCond %{REQUEST_URI} !en/developer_guides/customising_the_admin_interface/reference/cms-architecture
RewriteCond %{REQUEST_URI} !(3.0|2.4)
RewriteRule ^(.*)/reference/cms-architecture/?$ /$1/developer_guides/customising_the_admin_interface/cms_architecture [R=301,L]

RewriteCond %{REQUEST_URI} !en/developer_guides/customising_the_admin_interface/reference/cms-architecture
RewriteRule ^en/developer_guides/customising_the_admin_interface/reference/cms-architecture/?$ /en/developer_guides/customising_the_admin_interface/cms_architecture [R=301,L]
#
RewriteCond %{REQUEST_URI} !(3.0|2.4)
Expand Down

0 comments on commit b1f2601

Please sign in to comment.