Komentar di indomobile.net has moved to a new brand!:
admin [Mozilla/5.0]
RewriteCond cuma if/else.
[Textarea][RAW][Download]
- RewriteEngine on
- RewriteCond %{HTTP_HOST} (.*)indomobile\.net [NC]
- RewriteRule (.*) http://%1anggit.com/$1 [R=301,L]
http://indomobile.net/profile.html -> http://anggit.com/profile.html
http://admin.indomobile.net/profile.html -> http://admin.anggit.com/profile.html
Seperti kalo di PHP:
[Textarea][RAW][Download]
- if ($_SERVER['HTTP_HOST'] === 'indomobile.net') header('Location: http://anggit.com ');
Terbukti pake RewriteCond spt diatas google akan cepat sekali meng-index domain baru
[Reply]
- Mon, 23 Jul 2012 04:34:12 +0700