Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
What is the best/easiest/safest way to search for a specific string in textual content and replace it with something else.
In my case this would be
<a href="/specific-url/" to <a href="/prefix/specific-url/"
And do you do this directly in the database using a query (on all published content) or via code or plugin ?
For v7 there was https://our.umbraco.com/packages/backoffice-extensions/find-and-replace/ but according to this post you are on v8 right? You could fork the source and update to v8?
Ok, thanks, grabbed a copy of the zip. Updated it to 8.5.3. The searching part worked immidiatly. But since the plugin is created for a website in 1 language the SetValue function crashed, Found solution (inject culture using $routeParams.mculture). I've communjcated the code changes to github.
Only 1 annoying bug left and that is in the replacement parameter trailing spaces are stripped off. It doesn't seem to be in the code so I guess this is an angular bug. If anybody recognizes this or knows how to solve this would like to know.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted