Custom route ignore few url from discourse

hi @Canapin

I am using custom functionality for the Drupal URL topic shown in the discourse
site.

When a user visits the old URL of the Drupal site in a web browser, the system first checks in custom routes. It either ignores certain specified URLs as mentioned in custom routes, or it goes to the ‘custom_redirect’ function. In the ‘custom_redirect’ function, it finds the topic in Discourse and redirects the browser to that link.