0
votes
1answer
203 views

Get permalink for a post from inside Wordpress and route to a related site

I built a mobile version of a wordpress site and added some PHP code in the wordpress index.php file to detect mobile users and HTTP-redirects them to m.website.com (which is not a wordpress ...