Created
December 3, 2015 17:57
-
-
Save pradeepdotco/d53a4bb5d3f75bb59813 to your computer and use it in GitHub Desktop.
301 Redirect Pradeep.co to PradeepSingh.com with .htaccess
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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^pradeep\.co$ [OR] | |
RewriteCond %{HTTP_HOST} ^www\.pradeep\.co$ | |
RewriteRule (.*)$ https://pradeepsingh.com/$1 [R=301,L] | |
</IfModule> | |
# END WordPress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment