Skip to content

Instantly share code, notes, and snippets.

@Perun Perun/.htaccess
Created Dec 28, 2011

Embed
What would you like to do?
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
You can’t perform that action at this time.