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 10-12-2010, 12:52 PM   #1
klinton
So Fucking Banned
 
Industry Role:
Join Date: Apr 2003
Location: online
Posts: 8,766
redirecting 404 traffic to site + filter by browser language

hello, I would like to send all my 404 hits that speak, let's say, russian, to some page...
how to do this in httacess ?

thanks
klinton is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2010, 12:58 PM   #2
Mikushi
Registered User
 
Mikushi's Avatar
 
Industry Role:
Join Date: Sep 2010
Posts: 36
Wrong board. But here is your answer :
Code:
ErrorDocument 404 /the_page_you_want.html
Then on your page "the_page_you_want.html"

Code:
<meta http-equiv="Refresh" content="1; URL=some-domain">
Will redirect after a sec. But doesn't handle geo, you would probably need some custom 404 handling combined with Geo.
Mikushi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2010, 01:01 PM   #3
klinton
So Fucking Banned
 
Industry Role:
Join Date: Apr 2003
Location: online
Posts: 8,766
smart

so now i can easily 404 redirect to some page/folder and then setup another htaccess with language redirection

RewriteCond %{HTTP:Accept-Language}

unless that could be done in one code line ?
klinton 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.