How to make 301 Redirect Using htaccess File

If you want to redirect from an old document to new:

 Redirect 301 /old/file.html

Use following for redirecting Entire Directory.

 RedirectMatch 301 /blog(.*)$1

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.