Created
August 2, 2017 15:14
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .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