[LLVMbugs] [Bug 14714] New: Need way to specify redirects

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 25 09:21:03 PST 2012


             Bug #: 14714
           Summary: Need way to specify redirects
           Product: Documentation
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: General docs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: silvas at purdue.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

In order to reorganize the documentation into a more logical layout, it will be
necessary to move things around. However, we don't want to break existing
hyperlinks. Thus, we need some simple way to specify redirects.

It doesn't need to be anything fancy, just a list of pairs of URL's. All that
needs to happen is that if the old URL is accessed, then the web server serves
an HTTP 301 response "Moved Permanently".

Something like this (this is a purely hypothetical "reorganization"):

$ cat docs/_redirects.txt
/docs/BitCodeFormat.html    /docs/IR/BitCodeFormat.html
/docs/LangRef.html    /docs/IR/LangRef.html

So basically, if /docs/BitCodeFormat.html is accessed, then the web server
serves an HTTP 301 redirecting to /docs/IR/BitCodeFormat.html.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list