Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ingozoell/6393a76bfa50486f4709acc175d43f0f to your computer and use it in GitHub Desktop.
Save ingozoell/6393a76bfa50486f4709acc175d43f0f to your computer and use it in GitHub Desktop.
WP Redirect all pages/posts/media to new domain (.htaccess): https://stackoverflow.com/questions/15362458/redirect-all-pages-to-new-domain
# .htaccess
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$ http://www.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