backlinks question about www.

I also encountered this kind of problem on where my boss renews our website and removed the www on the webpage, I lost all page ranks on Google.
 
i meet such problem,if i set the main domain,but no using the cannonical meta tag,is it useful?
 
Since you have backlinks in www., you should continue using with www. itself.

Search engines treat http:// and http://www. as different and they rank for these differently.

If you are using Wordpress site choose http://www.domain.com inside Wordpress control panel.

You can you use SEO friendly 301 redirection using htaccess file also.

One of my site is http:// and all other in http://www.
Why this one site in http:// is just because I never knew what this redirection and all is and I created backlinks to http:// and not http://. So if I am changing the site from http:// to http://www. it will definitely loose it's rankings. Which I dont want to happen.

Hope it gave you some ideas.

My suggestion. - Use as it is http://www.123.com . Also add a redirection from http://123.com to http://www.123.com.

Cheers. :D
 
Last edited:
Create a file named ".htaccess".

Then open it in notepad and paste below code.

Code:
# For security reasons, Option followsymlinks cannot be overridden.
#Options +FollowSymlinks
Options +SymLinksIfOwnerMatch
RewriteEngine on
rewritecond %{http_host} ^yourwebsite.com [nc]
rewriterule ^(.*)$ http://www.yourwebsite.com/$1 [r=301,nc]
RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.html$ http://www.yourwebsite.com/$1 [R=301,L]

In place of yourwebsite.com, use your website domain.

Then upload this file to your root directory.
 
Back
Top