Ideally, you overwrite the url()
method in your article page model to output the correct URL and prevent the redirect from the old to the new URL.
Example here: Overwrite url() in page model
Adapt to what you need to output.
Ideally, you overwrite the url()
method in your article page model to output the correct URL and prevent the redirect from the old to the new URL.
Example here: Overwrite url() in page model
Adapt to what you need to output.