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?

Peter

Reply via email to