On Fri, Mar 2, 2012 at 12:42 PM, Peter Bittner <[email protected]> wrote:
> 2012/3/2 lkcl luke <[email protected]>:
>>  well they do... because there may still be links on the internet
>> which refer to them.  Cardinal Sin: having a site which has been
>> redesigned and doesn't take care of moved articles.  baaaad.
>>
>>> Is all solved now? Will you do the Apache configuration thingy?
>>
>>  mrhhmmm i'm not exactly an apache config redirect expert.  it does my
>> head in, does that apache rewrite hoojamaflip.
>
> RedirectPermanent is easy. Come up with a list of file you want a
> redirect for, then put that in your Vhost for each file:
> "RedirectPermanent  /old_path  http://pyjs.org/new_path";, e.g. after
> moving files to /articles ...
>
>    RedirectPermanent  /FAQ.html  http://pyjs.org/articles/FAQ.html
>    RedirectPermanent  /controls_tutorial.html
> http://pyjs.org/articles/controls_tutorial.html
>    RedirectPermanent  /controls_tutorial02.html
> http://pyjs.org/articles/controls_tutorial02.html
>    RedirectPermanent  /getting_started.html
> http://pyjs.org/articles/getting_started.html
>    RedirectPermanent  /uiHierarchy.html
> http://pyjs.org/articles/uiHierarchy.html
>    RedirectPermanent  /will_and_abe_guide_to_pyjamas.html
> http://pyjs.org/articles/will_and_abe_guide_to_pyjamas.html
>
> That's it. Go for it?

 mrhrrhmmm.. i just started reviewing the site - getting_started.html
is actually referenced by the #getting help tab; that refers to a wiki
page as well; the wiki page refers to the controls_tutorial.html and
others.

 bit more involved here than it first seems.

i've redirected the FAQ to http://pyjs.org/#FAQ and likewise the
uiHierarchy.html page to #Overview, so those can go.

the others have to stay where they are, not too keen on moving will
and abe to "articles", i'd like to think about that one some more and
am open to suggestions.

 l.

Reply via email to