I want to redirect http:// to http://www. with .htaccess so that my PR doesn't get diluted between the 2. Can someone tell me the best way to do this that won't affect my domain with any side effects?
(make sure to change YOURDOMAIN to your actual domain and TLD to your actual .net/.ws/.whatever tld) create a file called .htaccess with this: Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^YOURDOMAIN\.TLD$ [NC] RewriteRule ^(.*)$ http://www.YOURDOMAIN.TLD/$1 [R=301,L] Code (markup): then ftp it into your main folder and you are good to go.
Put the below code in .htaccess file (Change the domain name as per actual domain name) RewriteEngine On RewriteCond %{HTTP_HOST} ^domain\.com RewriteRule (.*) http://www.domain.com/$1 [R=301,L] For more information you can read on - http://www.beyondink.com/howtos/301-redirect.html
need to ask you guys, My site redirects from http://www to http:// for almost 1.5 months (don't ask me why pls. I had some problems with my host company.) Is it the reason for loosing SERP? I edit my .htaccess file, I upload it via FTP but without effect
I've had a problems with subdomains. Basically if you were typed anything.domain.com it will shows the main site content. So I asked for corect the glitch and they redirect to http://... Could it be the reason for SERP decreasing? I try to redirect to http://www but without success. If anyone nows how to do that I'll give him my htaccess file. Just PM me. The company is at my sig.
.htaccess is perfect way to redirect and some hosting providers like dreamhost is giving this service from their control panel.