Categories
Geekery Software

Magento Product Page URL parameters removed mysteriously

If you encountered a weird bug where-in you’re attempting to add utm_source parameters or any URL params after a question mark, then you’re not alone. This happened to me in one of my client’s Magento sites. On the homepage and category pages, I can easily add URL parameters. But in the product page / product view page / single product page, the parameters disappear after the page loads completely. I thought it’s just some sort of javascript bug or a redirect setting in the .htaccess, but it’s not the reason.

Maybe this also happens in WordPress with WooCommerce or other platforms that uses an SEO plugin with Canonical redirect.