redirect to prod url when creating content
Looks like you need to check the value specified for $base_url, within the settings.php of your dev.prod.com site. Assign a value of (eg) dev.prod.com and see what happens then.