Url not redirects until add / at the end of Url

Created on 8 September 2023, 10 months ago
Updated 12 September 2023, 10 months ago

I have applied redirect on a page lets example.com/contact/new-arrival/agency redirect to a example.com/contact
redirect does not work until example.com/contact/new-arrival/agency/
there is log error found what we be the issue. other redirects seems to be working fine those redirected to this page
example.com/contact

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @pankaj1390
  • Assigned to viren18febS
  • 🇮🇳India viren18febS

    Checking the issue!

  • Issue was unassigned.
  • Status changed to Needs review 10 months ago
  • 🇮🇳India viren18febS

    Hi @pankaj1390

    I have checked the above issue in Drupal 9.5 & I am not able to reproduce the issue. It is working as expected for me.

    As per the Drupal, we are not able to save the last backslash of the URL for this.
    example.com/contact/new-arrival/agency/

    If you still have the issue, then please mention the reproduce steps or something more informative.
    I have attached an screen cast for reference.

  • I have the exact same issue but with 8.x-1.9 and D10.
    The redirect doesn't work unless I navigate to the source url with an added slash at the end (even if the slash is NOT in the source url).
    Navigating to the defined source url (without an ending slash) does not trigger the redirect.

Production build 0.69.0 2024