Redirect all wordpress posts and pages to homepage

I want to redirect all the old posts and pages on a wordpress site to the home page as am shutting the site down but want to show people a thank you for your support page no matter what page they go on.

I have tried several .htaccess pieces of code but with no success, so any working code samples out there?

Read more here: Redirect all wordpress posts and pages to homepage

Leave a Reply

Your email address will not be published. Required fields are marked *