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

Big problem, please help

Discussion in 'Black Hat SEO' started by 1337WuLF, Jul 27, 2011.

  1. 1337WuLF

    1337WuLF Senior Member Premium Member

    Joined:
    Jan 3, 2011
    Messages:
    919
    Likes Received:
    370
    Occupation:
    IM
    Location:
    On a rock in space
    Hey guys,

    I have a site that has done something weird..

    the site now appears like this in the google URL:
    [FONT=Arial, Helvetica, sans-serif]166.146.20.222/myurl.com/page-name[/FONT]

    Yesterday it was fine. If I do site:myurl.com nothing show up. If I do site: 166.146.20.222/myurl.com it comes up with the three pages that is on the site.
    [FONT=Arial, Helvetica, sans-serif]
    [/FONT]My questions:

    How do I fix this? I was thinking of setting up redirects and then pinging the links. Is there a better solution?

    What would cause this?

    Has this destroyed the rankings on the site for good? (it was ranking well)


    Thanks!
    [FONT=Arial, Helvetica, sans-serif] [/FONT]
     
  2. euhero

    euhero Regular Member

    Joined:
    Jun 21, 2011
    Messages:
    253
    Likes Received:
    209
    Location:
    Somewhere in space
    Wow, thats weird. Thats the first time i saw something like that.
     
  3. 1337WuLF

    1337WuLF Senior Member Premium Member

    Joined:
    Jan 3, 2011
    Messages:
    919
    Likes Received:
    370
    Occupation:
    IM
    Location:
    On a rock in space
    I know, my only guess is that my hosting company are idiots and let google see all my domains when you visit the IP. My guess is Google is trying to be more exact with the domain, it thinks a direct link to the files is more exact than the actual domain.

    Anyone got any ideas on a solution?
     
  4. 1337WuLF

    1337WuLF Senior Member Premium Member

    Joined:
    Jan 3, 2011
    Messages:
    919
    Likes Received:
    370
    Occupation:
    IM
    Location:
    On a rock in space
    I have not fixed the Google results, but I have fixed the URL problem, when someone clicks the url with the IP in it, it will redirect to the correct URL. Here is the .htaccess code for anyone who may have the problem in the future.
    Code:
     Options +FollowSymLinks RewriteEngine on # # Redirect all requests for all non-canonical domains to same page in www.example.com RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^www\.example\.com$ RewriteRule (.*) http://www.example.com/$1 [R=301,L] 
    I have pinged all URLs, so hopefully Google will catch on and fix this up.
     
    • Thanks Thanks x 1
  5. rickstar

    rickstar Elite Member

    Joined:
    Dec 9, 2009
    Messages:
    1,979
    Likes Received:
    871
    Home Page:
    It might be a .htaccess issue, take a look at .htaccess file (located in the root folder of your domain). It might be masking and/or redirecting the URL.