{"id":22151042,"url":"https://github.com/justcoded/wp-host-update","last_synced_at":"2025-07-26T04:31:44.539Z","repository":{"id":89292006,"uuid":"55623128","full_name":"justcoded/wp-host-update","owner":"justcoded","description":"Database migration tool for WordPress CMS","archived":false,"fork":false,"pushed_at":"2016-12-02T17:32:33.000Z","size":92,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-02T21:11:09.486Z","etag":null,"topics":["database-migrations","mvc","php","script","wordpress","wordpress-database"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justcoded.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-06T16:39:43.000Z","updated_at":"2021-10-29T19:59:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3d2f0f1-4712-4af0-95ce-8ec4a72ddcd6","html_url":"https://github.com/justcoded/wp-host-update","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/justcoded/wp-host-update","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fwp-host-update","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fwp-host-update/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fwp-host-update/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fwp-host-update/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justcoded","download_url":"https://codeload.github.com/justcoded/wp-host-update/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fwp-host-update/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267117250,"owners_count":24038640,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database-migrations","mvc","php","script","wordpress","wordpress-database"],"created_at":"2024-12-02T00:29:53.337Z","updated_at":"2025-07-26T04:31:44.528Z","avatar_url":"https://github.com/justcoded.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Database migration (string replacement) script\n---\nWhen you move WordPress to another host you usually need to update database with new URLs inside a lot of pages. Such URLs can be placed inside serialized strings, BLOBs or objects. \nThis is a tool to simplify string replace operations across the whole WordPress database or specific tables. \n\n#### Script usage\n\n* Download latest stable tag.\n* Find the file `/build/wp-host-update.php` and copy it to your folder with WordPress installation.\n* **Backup your database!**\n* Open in your browser `http://domain.com/optional/path/to/wordpress/wp-host-update.php` (replace with your WordPress URL at the beginning)\n* Follow the instructions in your browser.\n* If everything was fine - remove script from production server!\n\n(In case of fail - use your backup to restore the database and try one more time)\n\n#### Repository structure\n\nRepository has 2 parts:\n\n1. The script source files inside `/app/` folder. These super simple MVC/OOP scripts which process page requests and views render.\n2. In the root folder you can find `builder.php` file. This one is used to collect all \"app\" into one single script and compress it a bit to minimize file size.\n\n#### Changelog\n\n* Version 2.1202.*\n  * Added new option to run \"light weight\" replace. It skips numeric fields and some special fields like dates, meta_keys etc.\n  * Added support for run queries in blocks to prevent memory limit on tables with too many rows\n* Version 2.1201.*\n  * Reset time limit to prevent script to be blocked by timeout\n* Version 2\n  * Convert all fields in all tables.\n  * Simple MVC framework with minimizer/builder.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustcoded%2Fwp-host-update","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustcoded%2Fwp-host-update","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustcoded%2Fwp-host-update/lists"}