Wordpress URL adjustment, cleaning of Wordpress PHP