Digital Note

Grab a coffe, take a seat, maybe listen to some music and relax by reading our digital daily diary. We want to share our minds and know how with you and the whole world!

Blog phones

htaccess migrasi domain ke domain baru

Berikut script yang dapat digunakan di htaccess untuk berpindah domain redirect ke domain baru tanpa melemahkan SEO, metode redirect tanpa kehilangan SEO adalah dengan cara redirect 301 (Permanent redirect)

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /
	RewriteCond %{HTTP_HOST} ^domain-lama\.com$ [NC]
	RewriteRule ^(.*)$$1 [R=301,L]

Trackback from your site.

Leave a comment