URL Replacer/Redirector

Redirect specific sites by replacing part of the URL.

< URL Replacer/Redirector 피드백으로 돌아가기

질문/댓글

§
게시: 2025-04-06

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 Borg작성자
§
게시: 2025-05-30

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.

답글 게시

답글을 게시하려면 로그인하세요.