Remove user-guide-admin from index pages
Remove the now obsolete guide from index pages, add .htaccess rule to redirect to new guide. Update existing redirects to new location if it exists. Change-Id: I5e3765b85bf89b08efa8d013f1fa94c5007df56b
This commit is contained in:
parent
12994d33ba
commit
017808675d
@ -46,7 +46,6 @@
|
||||
<h3><i class="fa fa-cloud"></i> User Guides</h3>
|
||||
<a href="http://developer.openstack.org/api-guide/quick-start/">API Guide</a>
|
||||
<a href="/user-guide/">End User Guide (includes Python SDK)</a>
|
||||
<a href="/user-guide-admin/">Admin User Guide</a>
|
||||
<a href="/cli-reference/">Command-Line Interface Reference</a>
|
||||
<a href="http://developer.openstack.org">Open source software for application development</a>
|
||||
</div>
|
||||
|
@ -83,13 +83,6 @@
|
||||
</a>
|
||||
<p>
|
||||
User guide for the OpenStack dashboard and command-line clients.
|
||||
</p>
|
||||
<a href="http://docs.openstack.org/user-guide-admin/">
|
||||
OpenStack Admin User Guide
|
||||
</a>
|
||||
<p>
|
||||
Admin user guide for the OpenStack
|
||||
dashboard and command-line clients.
|
||||
</p>
|
||||
<a href="http://docs.openstack.org/cli-reference/">
|
||||
OpenStack Command Line Interface Reference
|
||||
|
@ -145,16 +145,15 @@ redirect 301 /user-guide/content/app_cheat_sheet.html /user-guide/cli_cheat_shee
|
||||
redirect 301 /user-guide/content/Launching_Instances_using_Dashboard.html /user-guide/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/manage_projects_users_and_roles.html
|
||||
redirect 301 /user-guide-admin/content/specify-host-to-boot-instances-on.html /user-guide-admin/cli_nova_specify_host.html
|
||||
redirect 301 /user-guide-admin/content/nova_cli_migrate_single.html /user-guide-admin/cli_nova_migrate.html
|
||||
redirect 301 /user-guide-admin/content/specify-host-to-boot-instances-on.html /admin-guide/cli_nova_specify_host.html
|
||||
redirect 301 /user-guide-admin/content/nova_cli_migrate_single.html /admin-guide/cli_nova_migrate.html
|
||||
|
||||
redirect 301 /admin-guide-cloud/content/customize-flavors.html /admin-guide/compute-flavors.html
|
||||
|
||||
# Since we don't have a direct match for all file, redirect to the index page.
|
||||
|
||||
redirectmatch 301 "^/user-guide/content/.*$" /user-guide/index.html
|
||||
redirectmatch 301 "^/user-guide-admin/content/.*" /user-guide-admin/index.html
|
||||
redirectmatch 301 "^/user-guide-admin/.*$" /admin-guide/index.html
|
||||
redirectmatch 301 "^/image-guide/content/.*$" /image-guide/index.html
|
||||
redirectmatch 301 "^/arch-design/content/.*$" /arch-design/index.html
|
||||
redirectmatch 301 "^/cli-reference/content/.*$" /cli-reference/index.html
|
||||
|
Loading…
Reference in New Issue
Block a user