Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
301 Redirect Pradeep.co to PradeepSingh.com with .htaccess
# 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