This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Serve Wordpress locally without having to configure a web server. | |
* | |
* You need to have the database served as configured in wp-config.php, then | |
* run php -S 0.0.0.0:8080 wp-router.php to serve, and access localhost:8080 or | |
* your.computers.ip:8080 in a browser. | |
* | |
* Make sure in the database that within the `wp_options` table, the `siteurl` | |
* and `home` values are both "/". |
NewerOlder