infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Michels (JIRA)" <>
Subject [jira] [Created] (INFRA-9223) Create a .htaccess redirect
Date Tue, 03 Mar 2015 10:21:05 GMT
Max Michels created INFRA-9223:

             Summary: Create a .htaccess redirect
                 Key: INFRA-9223
             Project: Infrastructure
          Issue Type: Task
          Components: Website
            Reporter: Max Michels
            Priority: Minor

I created the following .htaccess in our site website directory (Apache Flink). It doesn't
seem to get picked up.

# redirect rules to prevent old links from breaking
RewriteEngine On

RewriteRule /docs/0.6-incubating/(.*)$1
RewriteRule /docs/0.7-incubating/(.*)$1
RewriteRule /docs/0.8/(.*)$1 
RewriteRule /docs/latest/(.*)$1  [R=301,L,NE]
RewriteRule /docs/(.*)$1  [R=301,L,NE]

What is the correct way to create a redirect?

This message was sent by Atlassian JIRA

View raw message