Error: select * from redirects where name='https://iliyahesab.com/vendor/'%2bb%2b'.jpeg'

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''.jpeg'' at line 1