Redirect fun with Apache and RSS Jun 4
i just changed from urls with post id in them to urls with slugs(Slug is a news term,used for urls and it contains only letters,numbers hyphens and underscores).
moving from id based url to slug based url in django was really easy,add a field in the post table for the slug the change the Post model function get_absolute_url to return the new url and i am done,slug-based urls in 30 second.
but now the fun begin,google already index all of my pages but they have old urls,so i thought:"no problem,that is what mod_rewrite is for" after 20 minutes of trying to make it work i went to the easy way of using a view that have a dict for redirecting the 3 old pages to the new ones.
even that it took my all like 30 minutes to fix this issue i got 42 old url access that were redirected to a new,but bad,url.
so after all of the fun with apache ended i started working on the rss for my site,well this was real fun,just add a feed class,update your urls.py and your good to go.
to keep tracking of the rss i used(like alot of people) the good old feedburner :)
now i have time to focus on real work like a new version of GearsORM :).
