I worked on a website for which I had a "development URL" that looked something like this:
www.example.com.php5-9.dfw1-2.example.com/
Now, several weeks after the website launch, there is at least one page of content indexed on Google with that URL.
Question: How do I redirect all requests from that test URL to reroute to the actual domain?
So, for instance, I would want:
www.example.com.php5-9.dfw1-2.example.com/page-name
To go to:
www.example.com/page-name
The website is powered by WordPress and hosted on a PHP server. I've experimented with .htaccess without much success.