added a php snippet to have the URL to the WPWP rewritten