Moved Permanently - The file has been moved permanently to a new location. This is the preferred method of redirecting for most pages or websites. If you are going to move an entire site to a new location you may want to test moving a file or folder first, and then if that ranks well you may want to proceed with moving the entire site. Depending on your site authority and crawl frequency it may take anywhere from a few days to a month or so for the 301 redirect to be picked up.
Be very careful regarding 301 redirects though. You can move from one domain to another and lose quite a bit of traffic.
Why is it only those with just a few post counts make posts like this thread? This is just spammy (for the sig links) and the info common knowledge that gets lost in a swathe of other posts
Seriously, I just signed up to the forum and am making my rounds by trying to add value with the posts I'm making (answering questions, etc). And then I come across this and feel like I'm wasting my time . But I think leaving a quality footprint will go a much farther way than this crap.
After reading i think i need to do my 301 redirects by htaccess but i'm not sure what code i should place in the file i want to 301 redirect
Yup, every webmaster knows 301 is permanent redirection. But how to do that. Does any buddy know how to move a abc(dot)com, abc(dot)com/home(dot)html to www(dot)abc(dot)com? Plz describe in Steps.
htaccess file RewriteEngine On RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/ RewriteRule ^index\.html$ http://www.xxxx.com/ [R=301,L] RewriteBase / RewriteCond %{HTTP_HOST} ^xxxx.com$ RewriteRule ^(.*)$ http://www.xxxx.com/$1 [R=301,L] Replace xxxx with your domain name. This will redirect all non www to www and all index.xx to www.xxxx.com too.