Results 1 to 6 of 6
  1. #1
    PromoteCasino is offline Private Member
    Join Date
    June 2013
    Location
    London
    Posts
    1,114
    Thanks
    1,069
    Thanked 489 Times in 333 Posts

    Default Dead Links From Bookies

    Just doing a search to find broken links and 404 errors and came across a dead aff link from a corals banner creating a 404 error. This poxy link is on several hundred posts. Does anyone know a quick way of redirecting this link to the homepage in wordpress?

    I am not up to speed with coding in wordpress so is there a plugin or an idiot guide out there?

  2. #2
    universal4's Avatar
    universal4 is online now Forum Administrator
    Join Date
    July 2003
    Location
    Courage is being scared to death...and saddling up anyway. John Wayne
    Posts
    34,193
    Thanks
    4,614
    Thanked 9,364 Times in 6,038 Posts

    Default

    You might be able to do something in htaccess.

    This is one of the main reasons it often makes more sense to use your own visit links (either a php or html/asp page on your own domain)

    Then any time you need to change a link, you change the link embedded into the visit page and anywhere you have used that visit link has changed.

    Some affiliates prefer using a slower method of using a plugin that will pull the link out of a database, again a method that allows and affiliate to change a link once that would be reflected site wide anywhere you used that link.

    As far as a plugin for links, I am sure a few will chime in here but a little searching this has been answered a number of times in recent months.

    I personally think links in a visit folder using a simple php page with the header attribute are much faster than a plug-in that pulls the link from the database, but there are a number of decent solutions available.

    Here are a few other discussions on masking links a few more thorough than others but covering many aspects
    https://www.gpwa.org/forum/how-mask-a...ks-219172.html
    https://www.gpwa.org/forum/what-shoul...ks-221942.html
    https://www.gpwa.org/forum/search-eng...ks-218760.html
    https://www.gpwa.org/forum/better-loo...ks-214339.html
    Rick
    Universal4

  3. #3
    PromoteCasino is offline Private Member
    Join Date
    June 2013
    Location
    London
    Posts
    1,114
    Thanks
    1,069
    Thanked 489 Times in 333 Posts

    Default

    Thanks Rick,

    The one from Affiliate bible would seem to do the job. So if in my .htaccess file I would put something like this

    redirect 301 /go/affiliate.coral.co.uk/processing/clickthrgh.asp?btag=a_xxxxxb_new http://affiliate.coral.co.uk/process...xxxb_7715&aid=

    In the example the go url has php on the end of it would this url work?
    BettingOffers.bet - Latest offers and bonuses from reputable UK bookmakers. A New project underway but a long way to go Bookie Rewards

  4. #4
    bettingviking is offline Private Member
    Join Date
    March 2016
    Posts
    11
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Hi! There's a really easy trick to fix this, Im using "All 404 Redirect to Homepage" (free plugin for WP) it does 301 redirects back to your homepage on all 404 links.
    I run the site Bettingviking, we offer Arbitrage betting, sports betting, guides, bonuses, predictions and previews - http://bettingviking.com ** Partner-ups and guest previewing is always of interest, just pm me if you think that we can help eachother out!

  5. #5
    universal4's Avatar
    universal4 is online now Forum Administrator
    Join Date
    July 2003
    Location
    Courage is being scared to death...and saddling up anyway. John Wayne
    Posts
    34,193
    Thanks
    4,614
    Thanked 9,364 Times in 6,038 Posts

    Default

    bettingviking,

    He is not talking about incoming links going to a 404, he is talking about affiliate links he has put up which now go to a 404 and looking for easy ways to change links.

    If you have a simple visit page (no-followed) (in a folder that is restricted by robots text) and an affiliate link changes, you change that single link in the visit folder and all places you used that visit link is instantly changed.

    If you have to absolutely use a plugin that performs an additional database lookup to get the link, that is also a decent way to handle affiliate links.

    Rick
    Universal4

  6. #6
    PromoteCasino is offline Private Member
    Join Date
    June 2013
    Location
    London
    Posts
    1,114
    Thanks
    1,069
    Thanked 489 Times in 333 Posts

    Default

    Hi Rick,

    Thanks for the suggestions, I have now gone in manually and deleted the 300 offending broken links. I should really set up my aff links the way you mention to avoid this in the future. Thanks again
    BettingOffers.bet - Latest offers and bonuses from reputable UK bookmakers. A New project underway but a long way to go Bookie Rewards

Posting Permissions

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