Hi,

Am 25.01.2013 um 05:04 schrieb Bertrand Delacretaz:

> Hi,
> 
> Now that INFRA-5646 is fixed , http://sling.apache.org correctly shows
> the new site (same content but slightly different layout), but the old
> content under /site is still here, like
> http://sling.apache.org/site/index.html
> 
> Can we get rid of that and replace with redirects to the new content?

The /site is imported into the SVN and just transferred to publish. Maybe we 
should keep it as a validation reference until we fully migrated.

In Felix I have done it like this:

  * Defined a mdtext header field to indicate whether
    a page is can be considered properly migrated or
    not
  * If a page is not properly migrated, a link at the
    is shown indicating this state and linking to the
    original page.
  * When fixing a migrated page, this is the procedure:
      * Remove the property from the headers
      * Remove the old page
      * Add a PermanentRedirect to the .htaccess file
        in the site folder

Maybe we can do something similar in Sling ?

Regards
Felix

Reply via email to