Redirecting outgoing links ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Smart Fred
    Confirmed User
    • Mar 2008
    • 308

    #1

    Redirecting outgoing links ?

    Hi guys,

    Is there a way to redirect all outgoing links starting with a domain,
    eg : Domain.com | 404 Error | Domain.com, Domain.com | 404 Error | Domain.com ...

    to a page of my site
    eg : Page Not Found - 404 Error Page

    I know incoming traffic could be redirect in htaccess but I don't know if it's possible for outgoing links.

    Or maybe a special WP plug-in.

    Thanks for your help.
    Stop doing what you like and start doing what brings you money!
  • linkhouse
    Registered User
    • Jun 2014
    • 68

    #2
    in your .htaccess file add


    redirect 301 /out/link1 Google


    So when someone click on your link Domain.com | 404 Error | Domain.com thet go to google.com for exempel

    Comment

    • Smart Fred
      Confirmed User
      • Mar 2008
      • 308

      #3
      Originally posted by linkhouse
      in your .htaccess file add


      redirect 301 /out/link1 http://www.google.com


      So when someone click on your link http://www.domain.com/out/link1 they go to google.com for exemple
      Thanks,
      Does it works using something as '\*' instead of putting a link for each outgoing links link1, link2... ?
      Stop doing what you like and start doing what brings you money!

      Comment

      Working...