[GH-ISSUE #938] [QUESTION] Replace Whoogle Farside link in "Instance limited" page #582

Closed
opened 2026-02-25 20:36:04 +03:00 by kerem · 4 comments
Owner

Originally created by @askabaz22 on GitHub (Jan 26, 2023).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/938

When self-hosting the service, is it possibile to replace the Whoogle farside link in the "instance limited" error page with a link to a particular Whoogle instance we prefer? Would be amazing to have direct redirect to another personal Whoogle instance as a back-up for the main one

Originally created by @askabaz22 on GitHub (Jan 26, 2023). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/938 When self-hosting the service, is it possibile to replace the Whoogle farside link in the "instance limited" error page with a link to a particular Whoogle instance we prefer? Would be amazing to have direct redirect to another personal Whoogle instance as a back-up for the main one
kerem 2026-02-25 20:36:04 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@Moist-Cat commented on GitHub (Jan 28, 2023):

The link is hard-coded here. So you can't configure it but I guess you can manually edit the file and add another URL.

<!-- gh-comment-id:1407224480 --> @Moist-Cat commented on GitHub (Jan 28, 2023): The link is hard-coded [here](https://github.com/benbusby/whoogle-search/blob/main/app/routes.py#L336). So you can't configure it but I guess you can manually edit the file and add another URL.
Author
Owner

@askabaz22 commented on GitHub (Jan 28, 2023):

The link is hard-coded here. So you can't configure it but I guess you can manually edit the file and add another URL.

I've tried to add the URL of the instance in that line but it can't work because "/whoogle/" is added after the URL I set. How can I remove that line, so that it redirect correctly to my instance?

Immagine 2023-01-28 164043

<!-- gh-comment-id:1407425541 --> @askabaz22 commented on GitHub (Jan 28, 2023): > The link is hard-coded [here](https://github.com/benbusby/whoogle-search/blob/main/app/routes.py#L336). So you can't configure it but I guess you can manually edit the file and add another URL. I've tried to add the URL of the instance in that line but it can't work because "/whoogle/" is added after the URL I set. How can I remove that line, so that it redirect correctly to my instance? ![Immagine 2023-01-28 164043](https://user-images.githubusercontent.com/81743377/215275781-1bde4c41-8acd-43da-9c70-fab121eb1eed.png)
Author
Owner

@Moist-Cat commented on GitHub (Jan 28, 2023):

I've tried to add the URL of the instance in that line but it can't work because "/whoogle/" is added after the URL I set. How can I remove that line, so that it redirect correctly to my instance?

That's in error.html . Remove "whoogle/" from the link.

<!-- gh-comment-id:1407491732 --> @Moist-Cat commented on GitHub (Jan 28, 2023): > I've tried to add the URL of the instance in that line but it can't work because "/whoogle/" is added after the URL I set. How can I remove that line, so that it redirect correctly to my instance? That's in [error.html](https://github.com/benbusby/whoogle-search/blob/main/app/templates/error.html#L27) . Remove "whoogle/" from the link.
Author
Owner

@benbusby commented on GitHub (Jan 30, 2023):

@askabaz22 The above suggestion should work for you, but let me know if you're still having issues.

<!-- gh-comment-id:1409141506 --> @benbusby commented on GitHub (Jan 30, 2023): @askabaz22 The above suggestion should work for you, but let me know if you're still having issues.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#582
No description provided.