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

$5 for Fix: Domain Repeated in Url

Discussion in 'Black Hat SEO' started by andre09, May 25, 2011.

  1. andre09

    andre09 Junior Member

    Joined:
    Jul 15, 2008
    Messages:
    174
    Likes Received:
    257
    SOLVED


    Hi,

    Recently my server has been acting strange in that when I add an add-on domain to my account, after visting the url it repeats itself as a directory. For example, the domain:
    http://example.com/
    redirects to:
    http://www.example.com/example.com/
    every time. In addition, when I type without the www. it automatically adds the www. along with the repeated domain!

    I don't know what to do, but I assume it must be an issue with my server's set up?

    $5 +Rep for a fix!
    Thanks
     
    Last edited: May 25, 2011
  2. xboxps3wow

    xboxps3wow Power Member

    Joined:
    Jan 15, 2010
    Messages:
    737
    Likes Received:
    239
    Occupation:
    student
    Location:
    Chicago
    post your .htaccess or pm me with the content of that file, i might be able to help. Also, what are you trying to do exactly? (might help looking thought the file)
     
    • Thanks Thanks x 2
  3. Katarina

    Katarina Junior Member

    Joined:
    Jan 25, 2011
    Messages:
    119
    Likes Received:
    270
    Occupation:
    Blackhat Queen
    Location:
    manila
    delete your .htaccess and see what happens
     
    • Thanks Thanks x 1
  4. andre09

    andre09 Junior Member

    Joined:
    Jul 15, 2008
    Messages:
    174
    Likes Received:
    257
    Doh! You guys were right, such a simple answer, but I didn't think I would have to delete my root domain's .htaccess as it was a WP site. Katarina explicity said it, so sorry xbox but I have to give to her.

    Thanks
     
    • Thanks Thanks x 1
  5. muscleteen

    muscleteen Regular Member

    Joined:
    Oct 28, 2008
    Messages:
    397
    Likes Received:
    861
    I'm thanking xboxps2wow for his/her willingness to try to find the specific cause of the issue and THEN to help out with it.

    I just got kicked in the b*tt for my willingness to find a "specific cause" when I was actually trying to help - that's why and how I know the guy/girl above should be thanked :D

    </rant>
     
    • Thanks Thanks x 1
  6. andre09

    andre09 Junior Member

    Joined:
    Jul 15, 2008
    Messages:
    174
    Likes Received:
    257
    You're right; I was in a rush and totally forgot about the thanks button on this forum. Thanks and rep'd xbox for the help
     
  7. muscleteen

    muscleteen Regular Member

    Joined:
    Oct 28, 2008
    Messages:
    397
    Likes Received:
    861
    Awesome to see there are still some Jr. VIPs who are not jerks towards non-VIPs and who take things constructively!

    :D :)
     
  8. xboxps3wow

    xboxps3wow Power Member

    Joined:
    Jan 15, 2010
    Messages:
    737
    Likes Received:
    239
    Occupation:
    student
    Location:
    Chicago
    No problem, I've tons of problems with .htaccess files in few of my wp blogs, so was worth a try :)