Re: Shortening URLs
| From: | Martin Jansen | Date: | Fri, 03 Mar 2006 12:45:30 +0000 |
| Subject: | Re: Shortening URLs | ||
| References: | 1 2 3 4 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-7641@lists.php.net to get a copy of this message | ||
On Fri Mar 03, 2006 at 01:3441PM +0100, Arnaud Limbourg wrote:
> >>There is also the matter that the current urls should still work (uri
> >>must stay available :)
> >
> >I was thinking of implementing a fallback solution for this in
> >public_html/error/404-manual.php.
>
> Would there be a way to try to guess the new url ?
To some extent, yes: Everything that starts with "packages." is now
"p.". If something contains a category, remove it. The result of that
should be the new URL, unless we have made length optimizations on the
package level (i.e. replacing spreadsheet_excel_writer_format with
format).
- Martin