|
uCoz Community uCoz Modules Page Editor Replace words/codes/urls (Search & Replace (all data)) |
Replace words/codes/urls |
Good afternoon everyone,
I would like to change words and codes present in more than 1000 pages of the website. Also, all the links that would be present on the website since I have changed the domain of the site. Is there any option to search and replace? The option that I have found only affects templates but not all the data on the website. Making more than 1000 editions manually is unfeasible. I am looking forward to your response, Thank you!! |
Also, all the links that would be present on the website since I have changed the domain of the site. which is why you should always use relative URLs (/like/this, not http://your_site/like/this). relative urls don't care if you change your domain, they will always work There is no built-in option to do that (for semantic reasons), BUT there are workarounds. You could create a backup of your site, download it, edit the content files manually (using a text/code editor), and then upload it back to the server. This process however requires extreme caution as the slightest wrong change can break things. You should have a copy of the original backup beforehand. another option would be to script and run a headless browser that automates logging into your site, opening every page, and making every single edit one-by-one. tools like Python + Headless Chrome or the now outdated PhantomJS can do the trick. You can deploy it to a web server or something if you don't want to have it running on your computer, but it would be harder to track the progress that way. This process requires you to have above average knowledge of coding though, and is probably slower than the first option. But less mistakes can be made, nonetheless. the third option is what you said, hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau sometimes i lurk here |
| |||
| |||