api-site/www/.htaccess
Anne Gentle bb129da378 Updates .htaccess to redirect Compute v3 to v2.1 and name change
- Also found that an old api-ref-databases-v1 instead of database
was still remaining.

I will delete both files on the FTP server once the redirect
is in place.

Change-Id: I024811fbbc9dac9b8144397a486393ab893b78d7
Partial-bug: 1482241
2015-08-06 22:41:57 -05:00

8 lines
383 B
ApacheConf

# Redirect for the new file name for complete reference page
redirect 301 /api-reference.html /api-ref.html
redirect 301 /api-specs.html /api-ref-guides.html
# Redirect Compute API reference v3 to v2.1
redirect 301 /api-ref-compute-v3.html /api-ref-compute-v2.1.html
# Redirect plural databases file name to database
redirect 301 /api-ref-databases-v1.html /api-ref-database-v1.html