Hi,
I’m attempting to find a keyword replacement to give me the url that generated the 404.
Or alternatively the url of the link that is broken.
We have a global 404 page that is linked into many sites so we need the full url of the broken link, not just the last part.
I’ve tried
- %globals_server_request_uri% - but this only returns the last part, and not the protocol and server name ( e.g. http(s)://mysite.com)
- %globals_asset_url% - gives me the url of the asset itself (which is not the destination of the broken link)
- %frontend_asset_url% - seemed to be what I needed but doesn’t return a url when acting as a not found asset
- %globals_server_request_url% - nothing
Any ideas?