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)
-   -   .htaccess question - redirecting 404 traffic (https://gfy.com/showthread.php?t=214817)

sickkittens 12-30-2003 03:41 PM

.htaccess question - redirecting 404 traffic
 
I need to take down a bunch of pages that are getting traffic but I want to redirect them to one page...

What do I have to do to my .htaccess file to do this?

JFPdude 12-30-2003 03:42 PM

ErrorDocument 404 http://pageyouwanttosendthem.com

Brad Xtremepay 12-30-2003 03:42 PM

ErrorDocument 404 http://www.URLHERE.com

Nightwork 12-30-2003 03:59 PM

the 404 is one option, but then you'll have the 404 set for the whole domain.

another option (and might interesting if you want to send old traffic to related new pages is the redirect:

Redirect /oldfile.html http://www.newdomain/new.html


All times are GMT -7. The time now is 06:08 AM.

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