inherit
257408
0
Jul 1, 2022 5:21:42 GMT -8
Aliana
92
January 2019
alianalili
|
Post by Aliana on May 8, 2020 10:55:52 GMT -8
Is it possible to search and replace using the widget/add-on HTML box's search feature? I've recently changed my domain and would like to be able to search replace the links within the respective Custom Pages that I've created vs. having to copy and paste each (takes forever). i.e. replace www.oldlink.com/page/example w/ https:// www.newlink.com/page/example The search bar pops up with a (Use /re/ syntax for regexp search) prompt, but I don't know what to do with it beyond searching for the old links. Is there some kind of code or sequence I can type in the search to speed this process along? Thank you in advance.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 8, 2020 11:06:30 GMT -8
There's unfortunately no built-in replace feature in the editor. I would suggest copying the HTML into your preferred code/plain text editor and performing the replacement there, then copying the updated version back into the code box.
If each of your links is a custom page link you can turn them into relative links so that they always use the URL of the domain that you're on.
Example:
Result:
The link above has a path specified with no preceding domain name, so it uses the domain name you're currently on and follows the path specified in the href attribute, resolving to support.proboards.com/page/rules.
|
|