Hi all, I was wondering if anybody could give me some pointers, hopefully by the new year I will have my blog migrated completely to web2py.
As far as all the posts/comments/etc, the data is migrated to web2py, and doing just fine. However I have a firm belief that in this day and age, hyperlinks should never "die", there is no reason for them to dis-appear. In the spirit of keeping my links backwards compatible with my new web2py blog, my idea is to scan incoming 404 error pages, pull the "slug" out of the url if it exists, and if there is a match in the new system, redirect, else display a list of "recommendations". This part is easy. The hard part is getting the redirects right. My wordpress links are formatted below, I will not be using the date, and will be parsing out the slug of the post. http://blog.thadeusb.com/2009/04/15/pygame-font-and-py2exe/ The new format, when I run web2py will be. http://thadeusb.com/weblog/view/pygame_font_and_py2exe/ or http://thadeusb.com/weblog/archive/2009/04/15/pygame_font_and_py2exe/15/ One main issue is the subdomain, what is the best way of redirect this? Using apache redirect or linking the IP of the subdomain and point it at web2py? Of course, in redirecting, I am expecting web2py to through a 404 (invalid function), and I will handle suggested pages from there on, I'm just not seeing how to get it to this point. Any ideas? Thanks, -Thadeus p.s. If its a lost cause in saving the urls, then I will just migrate and will wait for the google to re-index my site. I don't really think I have any trackbacks or pingbacks that are of any importance. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.