Y T Nuke  
Results 1 to 8 of 8
Is it possible to have a dynamic redirect of any outgoing link from any page ...
  1. #1
    Join Date
    Jan 2011
    Location
    Backwardstown
    Posts
    195
    Reputation
    21
    Thanks
    25
    Thanked 88 Times in 36 Posts

    Default Little bit of code help

    Is it possible to have a dynamic redirect of any outgoing link from any page on a site redirect to an affiliate link based on the root domain of the link?

    eg:
    www (dot) vajj (dot) com/ blah blha baklh whatever
    or
    www (dot) vajj (dot) com/hdhd hd hd hd hd or whatever the extension will be

    all go to www (dot) vajj (dot) com=id/myaffiliatelinkthatmakesmecash

    why?

    many pages on site all with random links that I don't want to go into find and manually update every variation of url to one site..

    Does that make sense?

  2. #2
    Join Date
    Jan 2011
    Location
    Backwardstown
    Posts
    195
    Reputation
    21
    Thanks
    25
    Thanked 88 Times in 36 Posts

    Default Re: Little bit of code help

    Wow, I just read over that post and I think I was drunk.

    Sorry for the mental anguish that it causes when reading.

    I was trying to ask if it's possible to redirect a link to an affiliate site, if the outgoing link has the domain + any extension that you have an affiliation with.

    so, Jhon puts a link on my directory for bhw and I have an affiliate agreement there.

    jhons link goes to forum.

    I want it to go to shop.

    however jhon also has put a link to bhw/forum/peter-pan

    I want every link with bhw as a domain to go to my affiliate link.

    WITHOUT having to manually edit and redirect it myself.

  3. #3
    SLSWebber is offline Newbies
    Join Date
    Feb 2011
    Posts
    15
    Reputation
    10
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Re: Little bit of code help

    Yea, you can do it. You'd need a database or text file or some way to handle your sites/afiliate links.
    Then you'd use PHP to do a location or a 301 redirect from the original page.
    This isn't the place to learn how to code database driven Websites though.

  4. #4
    Join Date
    Jan 2011
    Location
    Backwardstown
    Posts
    195
    Reputation
    21
    Thanks
    25
    Thanked 88 Times in 36 Posts

    Default Re: Little bit of code help

    Yeah I know, but I just thought I would ask...

    Thanks for that.

  5. #5
    nstrum is offline Newbies
    Join Date
    Jan 2011
    Posts
    13
    Reputation
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Little bit of code help

    yes, that makes sense

  6. #6
    kjr640 is offline Registered Member
    Join Date
    Jan 2010
    Posts
    76
    Reputation
    10
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default Re: Little bit of code help

    will this work for all niches ?

  7. #7
    extremephp's Avatar
    extremephp is offline Speed 1 TeraHz ;)
    Join Date
    Oct 2010
    Location
    In the outerspace
    Posts
    1,300
    Reputation
    689
    Thanks
    1,100
    Thanked 1,150 Times in 489 Posts

    Default Re: Little bit of code help

    Well,from my point of reading you want all your site URLs expect the home page to be redirected to your affiliate link right?

    That can be done using a simple 301 redirect. Or do you want all links from yoursite.com including the homepage to goto your affiliate link? It is even simple, and can be done by a simple htaccess redirect.

    Let me know what I understood is right
    Extreme Wikiposter v1.3.4 - The Ultimate Wiki Posting Tool
    Now with Username Spinning, Username Randomizing,Support to MediaWiki,WikkaWikki and MacOS (Both Do-Follow), Multiple Spintax Article,
    Post randomly to xxx sites, Support to DBC,Decaptcher and Imagetyperz and what not?


  8. #8
    shudogg's Avatar
    shudogg is offline Regular Member
    Join Date
    Sep 2008
    Location
    Indiana
    Age
    25
    Posts
    406
    Reputation
    28
    Thanks
    47
    Thanked 145 Times in 93 Posts

    Default Re: Little bit of code help

    I am not sure exactly what you mean. It can be done possible in the .htaccess file using 301 redirects. It could also be done with a php script that will grab whatever you need out of the URL, then redirect accordingly.
    New software coming soon that will make SENuke look like child's play!

AdStract


Advertise on Black Hat World

Similar Threads

  1. Adsense Code hack!
    By major_killer in forum Adsense
    Replies: 5
    Last Post: 05-29-2009, 04:40 PM
  2. PMBlaster Source Code Here
    By blackhatjamie in forum Black Hat SEO
    Replies: 7
    Last Post: 09-16-2007, 08:23 PM

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
  •  
  SEnukeX SEO Software
Proudly Powered by Hostwinds.com Web Hosting Click Here For Exclusive BHW Discounts!

Cheap Web Hosting


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76