'sxa' - tagged posts
Here are the different ways of customising the Sitecore SXA's Search Result component based on the usecase.
If you need to raise and handle a custom 404 error, then the Sitecore's ItemResolver might not work while using SXA. Instead use the SXA's ItemNotFoundResolver. Below are the complete details.