GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Redirecting outgoing links ? (https://gfy.com/showthread.php?t=1217005)

Smart Fred 09-15-2016 12:00 PM

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.

linkhouse 09-15-2016 02:28 PM

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

Smart Fred 09-15-2016 09:42 PM

Quote:

Originally Posted by linkhouse (Post 21164845)
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... ?


All times are GMT -7. The time now is 12:04 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc