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

Include DestinationUrl in Search #213

Open
jericodomanais opened this issue Jan 31, 2025 · 1 comment
Open

Include DestinationUrl in Search #213

jericodomanais opened this issue Jan 31, 2025 · 1 comment

Comments

@jericodomanais
Copy link

Which version of Skybrud Redirects are you using? (Please write the exact version, example: 4.0.8)

13.0.4

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

13.5.3

Question

Can the search be extended to include the DestinationUrl?

@jericodomanais jericodomanais added the type/question Further information is requested label Jan 31, 2025
@abjerner
Copy link
Member

abjerner commented Feb 3, 2025

Hi @jericodomanais

The destination URL is a bit tricky, since the value stored in the database isn't necessarily the value used when redirecting the user. The redirects package will determine the destination URL at runtime, so for instance if a redirected leads to a page, and that page is renamed or moved, the user will be redirected to the page's new URL, whereas the value in the database will still be the old URL.

But with that being said, making the database value searchable should be doable. For now, I'm marking this with the type/idea label.

@abjerner abjerner added type/idea and removed type/question Further information is requested labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants