SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: redirect?

  1. #1
    SitePoint Addict blizzman24's Avatar
    Join Date
    Jul 2004
    Location
    Texas
    Posts
    345
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    redirect?

    is there a way to redirect without changing the URL?

    for example, I have a site linking to mysite.com. When a user clicks on that link, it goes to subpage.com, but the url in the browser bar still reads mysite.com. Is that possible?

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Not just with PHP. You can do this with mod_rewrite (Apache module) or you can use frames (NOT recommended).

  3. #3
    An average geek earl-grey's Avatar
    Join Date
    Mar 2005
    Location
    Ukraine
    Posts
    1,403
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or get the remote page contents and output it to the user (in that case you'll need to do this for images, as well).


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
  •