Skip to main content

Query against existing redirects upon url creation

Would it be possible to include a query against existing page redirects when creating urls of pages.
We have a client who hosts job listings on their website through a webapp and upon creation a URL is assigned for that listing but once the vacancy has expired it is removed and replaced with a redirect so it does not 404.
We've recently encountered an issue in that a listing was created and the name happened to match an existing redirect causing the vacancy to be inaccessible which made me think maybe a query against redirects would ensure this no longer happens.

Status: Completed2 comments

Log in to comment and vote

Comments2

  • Dean Vizer changed status to Completed
    •

    Mar 27, 2020

    Closing as functionality already exists

  • Dean Vizer

    •

    Feb 28, 2020

    Andrew Collinson This already happens if you are using the "URL Redirects" feature.
    To test I made a URL Redirect and then tried to make a WebApp Item with the same URL.
    Are you using some custom functionality to make the redirect?