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

Sergey_Nesterenko
Sergey_Nesterenko used Ask the Experts™
on
Hello,

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

Thank you,

Sergey
Comment
Watch Question

Do more with

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

Author

Commented:
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