redirect non exixting website links to a main page of the website

Sergey_Nesterenko used Ask the Experts™

Our company has a blog site, I would like to setup a redirection to a main page if any of the link on the site are missing or not working ex. or this links do not exist so if I novigate to those links I want to immideately be redirected to How do I modify .htaccess file to acomplish that? The site is on a Linux server.

Thank you,

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®


Thank you for pointing me in the right direction.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial