Merge "Revert "Revert "Adds user guide and admin user guide redirects"""

This commit is contained in:
Jenkins 2015-04-23 13:48:59 +00:00 committed by Gerrit Code Review
commit bc3d7870ae

View File

@ -144,3 +144,23 @@ redirectmatch 301 /icehouse/install-guide/install/apt-debian/.*$ /
# Redirect old networking content to root for now
redirectmatch 301 /openstack-network/.*$ /index.html
# Redirect top ten (or so) User Guide pages post-migration
redirect 301 /user-guide/content/app_community_support.html /user-guide/common/app_support.html
redirect 301 /user-guide/content/checking_version_cli.html /user-guide/common/cli_discover_version_number_for_a_client.html
redirect 301 /user-guide/content/install_clients.html /user-guide/common/cli_install_openstack_command_line_clients.html
redirect 301 /user-guide/content/ssh-into-instance.html /user-guide/enduser/dashboard_launch_instances.html#connect-to-your-instance-by-using-ssh
redirect 301 /user-guide/content/app_cheat_sheet.html /user-guide/cli_cheat_sheet.html
redirect 301 /user-guide/content/Launching_Instances_using_Dashboard.html /user-guide/enduser/dashboard_launch_instances.html
# Redirect top ten (or so) Admin User Guide pages post-migration
redirect 301 /user-guide-admin/content/admin_cli_manage_projects_users.html /user-guide-admin/adminuser/manage_projects_users_and_roles.html
redirect 301 /user-guide-admin/content/specify-host-to-boot-instances-on.html /user-guide-admin/adminuser/cli_nova_specify_host.html
redirect 301 /user-guide-admin/content/nova_cli_migrate_single.html /user-guide-admin/adminuser/cli_nova_migrate.html
# All the rest of the files should be a direct match, file name for file name,
# Or they are not high in pageview count.
redirectmatch 301 /user-guide/content/(.*) /user-guide/enduser/$1
redirectmatch 301 /user-guide-admin/content/(.*) /user-guide-admin/adminuser/$1
redirectmatch 301 /hot-guide/content/(.*) /user-guide/hot-guide/$1