If you want to encourage the new FarCry FUs by redirecting, you can use application.fapi.getLink(objectid=...) to find out the right URL and then <cflocation ...>. How you set the status to 302 (for permanent redirect) will depend on what version of ColdFusion you're using.
Blair On Tue, Jul 27, 2010 at 11:45 AM, Marco van den Oever < [email protected]> wrote: > So migrate the articles to dmNews table including the id (newsid) > > If statement on index, if newsid exist get corresponding article from > dmNews and redirect to new article link > > But then i want to use the FU's, so should i directly redirect to the > FU format or redirect to normal link with objectid in it and then FU > is taking over? > > On Jul 27, 3:31 am, Blair McKenzie <[email protected]> wrote: > > In that case I would probablyjust add something to index.cfm to look for > > newsid (and any others) and convert it to the relevant objectid. If you > add > > a field to news (and the others) to store the old id it should be simple. > > > > Blair > > > > On Tue, Jul 27, 2010 at 11:18 AM, Marco van den Oever < > > > > [email protected]> wrote: > > > OK, i think a rewrite rule is indeed the best way huh. So a simple if > > > statement on the articles read page that redirects to the new URL's? > > > > > The URL's are now generated like "index.cfm?newsid=1200&read=1" so > > > it's all dynamically and not static. > > > > > On Jul 27, 2:46 am, Blair McKenzie <[email protected]> wrote: > > > > You could write you're own script to import the legacy URLs - the > farFU > > > > content type is fairly straight forward. Are the legacy URLs in a > > > database > > > > that would make it easier to map them to the new FarCry objects? It > will > > > be > > > > quite challenging if the links have to be copied out of HTML markup > but > > > > possible. I have written migration scripts to spider static websites > and > > > > import the content into FarCry, so in theory you could do something > > > similar > > > > that imported URLs too. > > > > > > Blair > > > > > > On Tue, Jul 27, 2010 at 10:11 AM, Marco van den Oever < > > > > > > [email protected]> wrote: > > > > > I am moving one of my own sites to farcry (good idea huh), it's a > news > > > > > site with over 1000 articles and pretty well ranked in search > results > > > > > etc. > > > > > > > Of course i want to move this site to farcry so i can have fun with > > > > > make it an even better site with more options etc, but i am > concerned > > > > > with loosing search results due to change of URL's markup. > > > > > > > I could use the SEF URL's option to manually add the old link? But > > > > > then again not want to do that for over 1000 times. > > > > > > > Anyone have any experience switching a site to farcry and preserve > the > > > > > URL's or make the change smoothly??? > > > > > > > -- > > > > > You received this message cos you are subscribed to "farcry-dev" > Google > > > > > group. > > > > > To post, email: [email protected] > > > > > To unsubscribe, email: > > > > > [email protected]<farcry-dev%[email protected]> > <farcry-dev%[email protected]<farcry-dev%[email protected]> > > > > > <farcry-dev%[email protected]<farcry-dev%[email protected]> > <farcry-dev%[email protected]<farcry-dev%[email protected]> > > > > > > > > > For more options:http://groups.google.com/group/farcry-dev > > > > > -------------------------------- > > > > > Follow us on Twitter:http://twitter.com/farcry > > > > > -- > > > You received this message cos you are subscribed to "farcry-dev" Google > > > group. > > > To post, email: [email protected] > > > To unsubscribe, email: > > > [email protected]<farcry-dev%[email protected]> > <farcry-dev%[email protected]<farcry-dev%[email protected]> > > > > > For more options:http://groups.google.com/group/farcry-dev > > > -------------------------------- > > > Follow us on Twitter:http://twitter.com/farcry > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: > [email protected]<farcry-dev%[email protected]> > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry > -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
