Post update: URL rewrites with Apache and PHP