Hi,
Trying to create a custom 404 page and following this article:
https://www.joomshaper.com/blog/create-a-custom-joomla-404-page-with-sp-page-builder
I have tested the page via the menu and all works well but when I implement the change to the error.php...
https://drive.google.com/file/d/1ykhg6ror7BwAAPW4sTIVBaFsQd2k4FFJ/view?usp=sharing
... I get another error of too many redirects. Maybe a problem with where I am placing code. Tried various position, the last one being at the very top of the file. Link above is the code I currently have