Designing a custom 404 page is nice to land a user if they missed an actual site address.
First design a page based on your interest and need.
second call the page that you created inside .htaccess file.
#redirect to custom page not found page
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.g3techdesign.com/$1 [R=301,L]
ErrorDocument 404 https://www.g3techdesign.com/error-page-not-found