| Summary: | Possibility to configure HTTP redirects? | ||
|---|---|---|---|
| Product: | Community | Reporter: | Andreas Sewe <sewe> |
| Component: | Website | Assignee: | phoenix.ui <phoenix.ui-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | denis.roy, johannes.dorn, marcel.bruch, webmaster |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
Andreas Sewe
If you list the redirects you'd like, we will add them to the server config file. Hi Denis, here are our redirects from old to new. download -> download.html features -> manual.html#completion-engines documentation -> manual.html support -> community.html developers -> community.html resources -> community.html All old ones should also include any and all subpages, so documentation/foo should also link to manual.html Should we wish to further change URLs in the future, is there a way to configure these redirects ourselves? It seems odd to always bother Eclipse webmasters. *** Bug 423109 has been marked as a duplicate of this bug. *** We'll add your redirects shortly.
> Should we wish to further change URLs in the future, is there a way to
> configure these redirects ourselves? It seems odd to always bother Eclipse
> webmasters.
I would like to believe that changing URLs is an exceptional case, not something you do regularly. FWIW, you can create your own redirects for individial pages. On PHP pages, use the header("location: newurl") directive and in .html pages you can use a META refresh.
I've added the redirects and deployed them. -M. Great, thank you very much! Regarding future updates, we may be changing to dynamic php instead of static html files at some point. Is it possible to configure the server so that it tries out different file endings for an URL? I. e. if a user goes to eclipse.org/recommenders/foo, the server will first try to serve a foo.pho, if that doesn't work a foo.html. Thanks again > I. e. if a user goes to eclipse.org/recommenders/foo, the server will first > try to serve a foo.pho, if that doesn't work a foo.html. You can do that now. Create a directory called "foo" and either put an index.php, index.html or index.htm and they will be searched for, in that order. > Is it possible to configure the server so that it tries out different file > endings for an URL? Possible, yes. Unfortunately, that kind of guesswork had performance impacts on high-traffic websites. Since PHP can serve both static html and dynamic PHP content, why not create PHP from the start? |