Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect from another source site does not work #45

Open
2 of 3 tasks
ammannbe opened this issue Jan 13, 2021 · 0 comments
Open
2 of 3 tasks

Redirect from another source site does not work #45

ammannbe opened this issue Jan 13, 2021 · 0 comments

Comments

@ammannbe
Copy link

ammannbe commented Jan 13, 2021

Bug or feature request?

  • bug
  • feature request

Already searched?

  • I have already searched in the issues

Describe the bug or feature

If I create a new redirect with another Source Site which has a prefix (e.g. "/en") in the url, the redirect does not work and only shows the default 404 page.
I've found out that if you leave the prefix out in the URL, the redirect works.

Reproduce (if bug)

Steps to reproduce the behavior:

  1. Go to 'Site Redirects -> Redirects'
  2. Click on 'New redirect'
  3. Change the source and destination site to one with a prefix (e.g. "/en")
  4. Enter the URL (without the prefix)
  5. Open the source URL in your browser
  6. See the 404 error page

Expected behavior

Either you shouldn't show the prefix in the source URL or we should be able to leave it away in the URI.

Screenshots

redirect

Version (if bug)

  • Craft version: 3.7.10
  • Plugin version: 3.0.8
  • PHP version: 7.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant