I have seen many methods for using as 301 redirect. I'm going to redirect from site1.com to site2.com. They are wordpress blogs. If I use this one in my .htaccess file for redirect each page manually, is it ok? Would it give any negative effect on my new site? # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> redirect 301 /category/postname1.html http://www.site2.com/category/postname1.html redirect 301 /category/postname2.html http://www.site2.com/category/postname2.html Code (markup): or should I use 301 like this one instead to redirect all pages on the fly. RewriteEngine ON RewriteRule ^(.*)$ http://mynewdomain.com/$1 [R=301,L] Code (markup): How much of time would it take to get new domain ranked as the old one does?
i think second one is good choice. My be 1 to 3 months, That's perfect answer no one can give outside of Google,
nice post, but i confused we provide this code add blog what increase traffic and hits? how plz full information.
No, we are talking about redirect domain/url from old site to a new site when we want the new url to take place instead of old url. This redirect is not increase both traffics and hits. You will receive all traffics as same as the old one did.
If you are keep the same internal link structure and changing just the domain use the below code... Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.yournewdomain.com/$1 [R=301,L]: Code (markup): Simple as that, if your changing the actual URL structure you have do 301 redirect each web page to do it properly.
Thanks. I tried to add green rep but I've been told I have to spread some rep to other before give it to you again. How much time would new domain take as ranking replacement the old one, ssandecki?
I have a wordpress blog, now i want to shift all it;s content to the blog which is going to be implement in my website, shall i redirect (301) for each and every pages from free hosted blog to new url's? How?