2008/7/9 RHC <[EMAIL PROTECTED]>:
>
> I know this may seem like an insanely simple question, but I'm a real
> newbie so be kind.
>
> I am trying to upgrade from an old php website to Django.  The problem
> is I need to 301 redirect old urls to new Django ones, eg.
>
> http://www.mysite.com/widgets/purplewidget.php
>
> needs to redirect to
>
> http://www.mysite.com/widgets/purplewidget/

It seems a task for apache mod_rewrite
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

Hope it helps!

-- 
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to