Redirect specific sites by replacing part of the URL.
< Feedback on URL Replacer/Redirector
If I'm understanding correctly, you want to replace two things: "/comments" with nothing, and "www" with "chan".
You could configure that as follows (now in the new settings page, not in storage):
Targets | Replacements | |
---|---|---|
/comments | ||
https://www | https://chan |
I'm including that extra "https://" to avoid replacing any other instances of "www" in the URL, but you may need to tweak it further.
Note that you'll want to leave the prefix/suffix blank - those are applied to all replacements.
How would I accomplish this?
https://www.sankakucomplex.com/en/posts/8JaGogjZAaL/comments
{
"replacePrefix": "/comments",
"replaceSuffix": "/",
"replaceTheseStrings": {
"comments": ""
}
}
what I am trying to do is remove the /comments so it comes out a
https://www.sankakucomplex.com/en/posts/8JaGogjZAaL
Once I get that working than I can make the final change so it will finish as.
https://chan.sankakucomplex.com/en/posts/8JaGogjZAaL