Skip to content

Instantly share code, notes, and snippets.

@nixon1333
Created December 30, 2016 16:13
Show Gist options
  • Save nixon1333/ff0d73a405eb1d733470161e90019b3c to your computer and use it in GitHub Desktop.
Save nixon1333/ff0d73a405eb1d733470161e90019b3c to your computer and use it in GitHub Desktop.
301 redirect(all pages) to new Domain
Options +FollowSymLinks
RewriteEngine on
#here http://www.ainixon.me/rss/ is the new domain link where we want to redirect all our traffic.
RewriteRule (.*) http://www.ainixon.me/rss/ [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment