if you worry your subdomain and your folder of new domain will impact on seo, redirect your subdomain and folder that behave of new domain to your new domain
redirect with htaccess
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^newdomain\.allpreview\.net$ [NC]
RewriteRule ^(.*) http://newdomain.info/$1 [L,R=301]
yesterday i am also ask to Sitebee about how to redirect my subdomain to other subdomain of blogspot.
i found my way, i am creating subdomain
www.blog then i make htaccess on folder that belonging of my subdomain like this:
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
and i create index.php with content like this:
PHP:
<?php
$uri = $_SERVER['REQUEST_URI'];
if(!preg_match('/www\.blog/', $uri)) {
$redir = 'http://indro-network.blogspot.com'.$uri;
}
else {
$uri = str_replace('www.blog/', '', $uri);
$redir = 'http://www.blog.newbietool.info'.$uri;
}
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\r\n";
echo '<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">'."\r\n<head>\r\n";
echo '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>'."\r\n";
echo "<title>This Blog is Moved</title>\r\n";
echo '<meta http-equiv="Accept-Encoding" content="gzip,deflate"/>'."\r\n";
echo '<meta http-equiv="Content-Encoding" content="gzip"/>'."\r\n";
echo '<meta name="distribution" content="global"/>'."\r\n";
echo "<meta HTTP-EQUIV=\"refresh\" content=\"3;url='".$redir."'\" />\r\n";
echo "</head>\r\n<body>\r\n";
echo "<h1>This blog is moved</h1>\r\n";
echo "<p>This blog is moved to <a href='".$redir."'>".$redir."</a><br/>\r\nPlease update your bookmark to our new address.<br/></p>\r\n";
echo "</body>\r\n</html>"; exit;
?>
please correct my script if have better way to redirect my subdomain