{"id":49898626,"url":"https://github.com/ruhanirabin/wp_changedomain_sh","last_synced_at":"2026-05-16T01:37:38.003Z","repository":{"id":80426212,"uuid":"128627969","full_name":"ruhanirabin/wp_changedomain_sh","owner":"ruhanirabin","description":"WordPress Change Domain inside DB using Shell / String Replace in All Occurrences","archived":false,"fork":false,"pushed_at":"2024-05-31T06:51:41.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-31T07:58:24.318Z","etag":null,"topics":["database","find-and-replace","mysql","shell-script","wordpress","wordpress-site"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruhanirabin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-04-08T10:10:03.000Z","updated_at":"2024-05-31T06:51:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"37419739-2d86-437f-a1ab-53b50d799ad2","html_url":"https://github.com/ruhanirabin/wp_changedomain_sh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ruhanirabin/wp_changedomain_sh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruhanirabin%2Fwp_changedomain_sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruhanirabin%2Fwp_changedomain_sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruhanirabin%2Fwp_changedomain_sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruhanirabin%2Fwp_changedomain_sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruhanirabin","download_url":"https://codeload.github.com/ruhanirabin/wp_changedomain_sh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruhanirabin%2Fwp_changedomain_sh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33087028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","find-and-replace","mysql","shell-script","wordpress","wordpress-site"],"created_at":"2026-05-16T01:37:37.718Z","updated_at":"2026-05-16T01:37:37.992Z","avatar_url":"https://github.com/ruhanirabin.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp_changedomain.sh\nWordPress Change Domain inside DB using Shell / String Replace in All Occurrences\n\nA simple Shell Script to Change all WordPress domain name OR String instances\nAfter the Find and Replace operation, it will be re-imported back to DB\n\n## Pre-requisities\n1. You will need shell access to your server\n2. Only works for linux based servers\n\n## Can be used for\n1. Domain Migration\n2. Update Existing Domain to HTTPS\n3. Find and Replace a string in the whole database\n      \nIt keeps an archive file just in case\n\n## What does it do actually?\n1. It uses `mysqldump` command to export the database specified in the variables\n2. Creates a `tar.gz` archive for the named `exported SQL` file\n3. Then it performs a linux `SED` find and replace operation inside the SQL file\n4. Then, it uses `mysqldump` to re-import the SQL file back into the database\n\n### Basic Usage in bash console as: \n```\nsh wp_changedomain.sh\n```\n\n#### from: www.RuhaniRabin.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruhanirabin%2Fwp_changedomain_sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruhanirabin%2Fwp_changedomain_sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruhanirabin%2Fwp_changedomain_sh/lists"}