Skip to content

Instantly share code, notes, and snippets.

@Perun
Created December 28, 2011 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Perun/1525818 to your computer and use it in GitHub Desktop.
Save Perun/1525818 to your computer and use it in GitHub Desktop.
Komplettes Weblog auf eine andere Domain weiterleiten, wobei die alten Permalnks erhalten bleiben.
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(.*)alte-domain.de [NC]
RewriteRule ^(.*)$ http://neue-domain.de/$1 [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment