Page MenuHomeMiraheze

Redirect 404 to home page
Open, LowPublic

Description

Hi,

We recently redirected our old website to our new wiki hosted on miraheze. It works fine but we have now broken links pointing to a 404 error page (e.g., https://www.arru.xyz/lassociation/). Is it possible, on your side, to redirect these broken links (404 error page) to our home page (https://www.arru.xyz/wiki/Accueil)?

Thank you,
Julien

Event Timeline

R4356th triaged this task as Normal priority.Jun 24 2021, 08:15
R4356th added a project: Puppet.
Void lowered the priority of this task from Normal to Low.
Void added a subscriber: Void.

Doesn't seem possible with our current setup, but I'll see if I can extend the setup to make it work without breaking anything else.

In T7518#151112, @Void wrote:

Doesn't seem possible with our current setup, but I'll see if I can extend the setup to make it work without breaking anything else.

I think SSL redirects can be expanded to support paths by modifying https://github.com/miraheze/puppet/blob/d4573b1/modules/varnish/templates/mediawiki.conf#L75 but I may be completely wrong.