URL Replacer/Redirector

Redirect specific sites by replacing part of the URL.

< Commentaires sur URL Replacer/Redirector

Question / commentaire

§
Posté le: 06/04/2025

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

Gavin BorgAuteur
§
Posté le: 30/05/2025

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.

Poster une réponse

Connectez-vous pour poster une réponse.