I installed Ultimate SEO URLs and it worked flawlessly. Many thanks to the contributor! However, I then installed iDevAffiliate and its SEO Links module. Both Ultimate SEO URLs and iDA SEO links use the the modRewrite in the htaccess file to create the seo urls and they are causing issues with one another.

I've inserted the code that each provided and whichever block is last in the htaccess file works properly. Does anyone know if there is a way to make them work together?