Server and Wordpress set-up tutorial
File containing the code. (It is in txt, make sure to save it as .php)
Code