Mailto link get the root url added to it
Not sure why but WP keeps prepending my root domain to all mailto: links.
I’ve been digging for answers and finding nothing.
The links are generated dynamically in a custom template via advanced custom fields.
href="mailto:<?php the_field('email_address'); ?>"
This is what I am getting from chrome dev tools. IMAGE
Any ideas? Is this a rewrite issue?
- The topic ‘Mailto link get the root url added to it’ is closed to new replies.