You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/08/24 20:33:56 UTC

[camel-website] branch master updated: chore: add redirects for Google first hit summary

This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
     new fb0ff7b  chore: add redirects for Google first hit summary
fb0ff7b is described below

commit fb0ff7bbfe19b2b98d7be22d158a3676c55dc85d
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Sat Aug 24 22:33:51 2019 +0200

    chore: add redirects for Google first hit summary
    
    If I search for "apache camel" on Google along with the front page link
    I also get links to "What is Camel?", "Getting Started", "Enterprise
    Integration Patterns" and "Documentation". Last two are resulting in 404
    so this adds redirects to new content.
---
 static/.htaccess | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/static/.htaccess b/static/.htaccess
index 2338a59..26eba93 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -238,7 +238,7 @@ ErrorDocument 404 /404.html
 # Redirect 301 /design-notes.html
 # Redirect 301 /detour.html
 # Redirect 301 /discussion-forums.html
-# Redirect 301 /documentation.html
+Redirect 301 /documentation.html /manual/latest/
 # Redirect 301 /download-archives.html
 # Redirect 301 /dsl-function-template.html
 # Redirect 301 /durable-subscriber.html
@@ -624,6 +624,7 @@ Redirect 301 /endpoint-annotations.html /manual/latest/endpoint-annotations.html
 Redirect 301 /endpoint.html /manual/latest/endpoint.html
 Redirect 301 /endpointcompleter.html /manual/latest/endpoint-completer.html
 Redirect 301 /enterprise-integration-patterns.html /manual/latest/enterprise-integration-patterns.html
+Redirect 301 /enterprise-integration-patterns /manual/latest/enterprise-integration-patterns.html
 Redirect 301 /error-handler.html /manual/latest/error-handler.html
 Redirect 301 /error-handling-in-camel.html /manual/latest/error-handling-in-camel.html
 Redirect 301 /etcd.html /components/latest/etcd-component.html