Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-06-2008, 03:51 PM   #1
Paparazzi
Confirmed User
 
Join Date: Mar 2002
Posts: 3,488
Problem with redirecting 404 traffic .htaccess

when someone goes to the wrong .htm or .html page it works just fine but not if someone goes to wrong .jpg for example. When someone goes to a wrong .jpg file that doesn't exist it goes to a cam page I'm not familiar too

This is how my .htaccess looks like:

ErrorDocument 404 http://www.blahblah.com/404.htm
ErrorDocument 403 http://www.blahblah.com/404.htm
ErrorDocument 401 http://www.blahblah.com/404.htm
ErrorDocument 501 http://www.blahblah.com/404.htm

What's wrong?
Paparazzi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-06-2008, 03:57 PM   #2
aico
Moo Moo Cow
 
Join Date: Mar 2004
Location: Washington State
Posts: 14,748
Try putting the pages on your same domain, then redirecting with those pages.

eg. ErrorDocument 404 /404.html

then create a 404.html page that has a Meta redirect (if you are redirecting to somewhere off your site).
aico is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-06-2008, 04:35 PM   #3
thaifan99
Confirmed User
 
Join Date: Jul 2003
Location: London UK
Posts: 3,029
cam page?


where are you hosted?
thaifan99 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-06-2008, 05:29 PM   #4
Paparazzi
Confirmed User
 
Join Date: Mar 2002
Posts: 3,488
Thanks for the advice aice, but I asked my host and they fixed it within minutes

thaifan99, yeah .jpg got redirected to a streamate page. Not sure how it worked, but my host (techie media) fixed it so all is good
Paparazzi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.