I always use this script interconnectit.com/search-and-repl... for that task.
I've been using this code snippet, I've shared, for years and I have to tell you that I migrate from one URL to another in matter of seconds (when on same hosting).
If I transfer it to the other server then it lasts longer due to FTP transfer.
And don't get me wrong, I am not saying that your way/script is wrong or worse. I am just saying that this is the best way I found, for me. 😁
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I always use this script interconnectit.com/search-and-repl... for that task.
I've been using this code snippet, I've shared, for years and I have to tell you that I migrate from one URL to another in matter of seconds (when on same hosting).
If I transfer it to the other server then it lasts longer due to FTP transfer.
And don't get me wrong, I am not saying that your way/script is wrong or worse. I am just saying that this is the best way I found, for me. 😁