Using WP for a landing page template, I'd like to figure out a way to tie in with the redirection plugin to allow multiple pages (products) on a site have the post titles (used as product titles) link to various redirection links (ie mydomain.com/buy/widget/widgetmodelname instead of linking to their permalink.
What would be the easiest way to do this? Obviously were it one product only I could just edit the index.php template and change the link from:
<div class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></div>
to a specific url- but is there an easy way to set this up so that <?php the_permalink(); ?> is replaced with functionally <?php the_redirecturl(); ?> and define this somewhere?
Thanks for any help.
What would be the easiest way to do this? Obviously were it one product only I could just edit the index.php template and change the link from:
<div class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></div>
to a specific url- but is there an easy way to set this up so that <?php the_permalink(); ?> is replaced with functionally <?php the_redirecturl(); ?> and define this somewhere?
Thanks for any help.