SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist
    Join Date
    Jun 2004
    Posts
    417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    external link problem

    Hi,

    just a question.

    I have hosted a website, say www.aaa.com on my general domain name and server, under the path www.mysite.com/aaa. I point the domain name www.aaa.com to the path www.mysite.com/aaa. I mainly do this to save on hosting costs.

    If I enter www.aaa.com, I get to the correct site, but if I click on a link on that site (which is redirected to www.mysite.com/aaa, remember), the URL does not change to the linked website. It stays www.aaa.com. It looks pretty weird.

    Can anyone tell me why this happens, and even better, how I can fix this, without having to buy a complete new hosting package for www.aaa.com?

    I hope my question is clear :-)

    M

  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you trying to say that a link on www.aaa.com (let's say it goes to www.aaa.com/somepage.html) will go to www.aaa.com instead of www.aaa.com/somepage.html?

  3. #3
    SitePoint Evangelist
    Join Date
    Jun 2004
    Posts
    417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What I try to say :-) is this.

    -Type in www.aaa.com
    -You end, because of url forwarding, on the site www.sqomesite.com/aaa
    -On that site, you click a link (eg : http://www.amazon.com)
    -You end up seeing amazon, bit the address bar shows www.aaa.com

    How can this happen? I hope I made it more clear :-)

    M

  4. #4
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your 'redirection' is probably done with frames. That's how domain resellers usually provide this sort of service. Your domain URI (www.aaa.com) opens a frameset with one frame that loads the true page (www.mysite.com/aaa). The URL in the browser shows the frameset URI, which doesn't change when you navigate within your site, which resides in a frame pane.
    Birnam wood is come to Dunsinane

  5. #5
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It sounds like your server wasn't configured properly to redirect URLs like that.

    I know someone who can help you though. He's not feeling very well at the moment, but perhaps he might be able to chime in.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •