1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

xampp localhost and links

Discussion in 'Site & Server Administration' started by Colbyt, Aug 21, 2007.

  1. #1
    I just did a clean install of xampp and all went well. I should also say first install ever (like you can't figure that out from the question).

    I copied a site I am working on over to C:\xampp\htdocs\domaindirectory where domaindirectory is the name I gave the folder for the site.

    My links were working on a real server, public_html/directory took me to the right place. On localhost it wants to take me to localhost/directory name not localhost/domaindirectory/directory.

    What am I doing wrong? Advice or links, they are both good.
     
    Colbyt, Aug 21, 2007 IP
  2. Kuldeep1952

    Kuldeep1952 Active Member

    Messages:
    290
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Your Links in the pages are probably "/directory" and not "directory".
    The URL "/" in your localhost is C:\xampp\htdocs\ and not C:\xampp\htdocs\domaindirectory
     
    Kuldeep1952, Aug 22, 2007 IP
    Colbyt likes this.