SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2003
    Location
    Pembroke Pines, Florida
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Is this PHP Redirect Possible?

    Is it possible to redirect incoming traffic to a top-level domain to another domain based on the full, exact Referring URL?

    For example, let's say I bought http://www.redirectdomain.com. and I'm sending a bunch of traffic to this top-level domain. (index.php)

    Can incoming visits from http://samplesite.com/myarticle-rocks.html be redirected to http://amazon.com/?tag=keyword?

    While Other incoming visits from http://suckysite.com/myarticle-sucks.html redirect to http://buy.com/?ref=suck?

    Hope that's clear..

  2. #2
    @php.net Salathe's Avatar
    Join Date
    Dec 2004
    Location
    Edinburgh
    Posts
    1,397
    Mentioned
    64 Post(s)
    Tagged
    0 Thread(s)
    Yes.
    Salathe
    Software Developer and PHP Manual Author.


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
  •