external redirect support added to permalinks