1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can someone tell me whats goin on here :O

Discussion in 'Blogging' started by lilmasta, Jul 20, 2012.

  1. lilmasta

    lilmasta Jr. VIP Jr. VIP Premium Member

    Joined:
    May 21, 2009
    Messages:
    2,158
    Likes Received:
    955
    Occupation:
    IM
    Location:
    sydney
    Alright i have a HTML Website for example .. (www lilmasta com) and i have a wordpress blog installed on (www lilmasta com/blog) so when i go on google tryna check how many pages are indexed so far its giving me weird results HTML website is indexed with a www. and the rest wordpress without, i dont know whats goin on :s
    have anyone of you have ever seen this ? if yes do you know how to solve this , i just wanna get it one way either with www or without :)
     
  2. bk071

    bk071 Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Nov 24, 2010
    Messages:
    3,104
    Likes Received:
    7,915
    Occupation:
    I don't have a job
    Location:
    .............
    Put this in your .htaccess file.
    Code:
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^www.yourdomain.com [NC]
    RewriteRule ^(.*)$ http://yourdomain.com/$1 [L,R=301]
    
    Change yourdomain.com to your own domain name.
     
    • Thanks Thanks x 1
  3. mazgalici

    mazgalici Supreme Member

    Joined:
    Jan 2, 2009
    Messages:
    1,489
    Likes Received:
    881
    Home Page:
    is the blog new? Might take a while to appear in google