Redirect all pages on one domain to home page of another


/ Published in: Apache
Save to your folder(s)

Add to .htaccess file.


Copy this code and paste it in your HTML
  1. redirectMatch 301 ^/ http://www.yourdomainname.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.