Friendly URLs in DNN for Google Campaigns not working on homepage
Add an Answer
Your question has been submitted and is awaiting moderation.
Thank you for reporting this content, moderators have been notified of your submission.
I have an issue with my DNN site where I am using the regular expression to exclude any querystring parameters from the Friendly Url where there are any that include "utm" in their names.
http://www.dnnsoftware.com/wiki/loc/print/Page/Keeping-Querystring-items-out-of-URL
The regular expression I am using is;
/nomo/\d+|/runningDefault//+|/popup/(?:true|false)|/(?:page|category|sort|tags)//+|(/utm/+//+)+
This works with any URLs except the homepage. For example;
http://www.[SITE].com/Products/product?utm_source=google&gclid=Testing&utm_medium=test_medium&utm_term=&utm_content=1&utm_campaign=test_campaign&mkwid=test&pcrid=7&pdv=test - WORKS
http://www.[SITE].com/home?utm_source=google&gclid=Testing&utm_medium=test_medium&utm_term=&utm_content=1&utm_campaign=test_campaign&mkwid=test&pcrid=7&pdv=test -404 ERROR
Can anyone help?