how to remove duplicate meta description and title and tell us why it is coming

Discussion in 'Google' started by dj2oon, Aug 7, 2010.

  1. #1
    hi; as i am running a blog..after some i did new WP installation and the new wordpress version be default came without www prefix..i started my blog without realizing that it will go on to duplicate my content...now the problem is my blog is running on both"www" nd without "www" www dot surfpk dot com and http://surfpk dot com ...and i have got alot of duplicate content...duplicate meta description and duplicated meta title..yesterday i realize all that after reverifying my blog with http://surfpk dot com earlier there was no duplicate stuff and i was using webmaster tools with www dot surfpk dot com but yesterday when i verified again with http://surfpk dot com ...i was shocked to see those duplicates...now what i want is that duplicate content to remove quickly from there...please help me...give me the suggestions.. i have a clue that i might to allow .htacess but don't know how to properly??
    pls help me thanks...
     
    dj2oon, Aug 7, 2010 IP
  2. paul174

    paul174 Greenhorn

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    Hello
    You can Use this in your .htaccess file :
    
    RewriteEngine on
    
    RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
    Code (markup):
    this will redirect domain.com permanently to WWW.domain.com
     
    paul174, Sep 14, 2010 IP