Cómo establecer tu dominio preferido y duplicar el poder de tus backlinks

How to set your preferred domain and double the power of your backlinks






Step 1.  addressing 301
Open your .htaccess file and add the following code. Don't forget to change example.com to your domain.

If you prefer not www, add this:

Rewrite Engine On
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]

If you prefer to use www, add this:

Rewrite Engine On
RewriteCond %{HTTP_HOST} !^(.*)\.example\.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

Step 2. Set up in your account webmaster tools
Open your webmaster tools and click on “Settings” just below “Settings”. Look to the right for “Preferred Domain” and select your preferred domain. Make sure it's consistent with your preference in step 1.



Loading

Commentary

Comments

en_USEnglish