I have a Wordpress set up with a different Wordpress address and site url (due to server locations, sub domains and proxy pass issues).
Everything is working fine except I need a way to be able to automatically redirect (for posts and pages only) from the Wordpress address to the site url as Google is seeing them as two. I have tried to use a plugin however Wordpress is seeing this as a conflict and giving me a lovely 500 error.
Is there a function that I could use?