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 07-10-2006, 08:58 PM   #1
en1
Confirmed User
 
Join Date: Jun 2004
Posts: 858
htaccess question

I want to be able to make any destination goto a url

so if someone requests http://www.blah.com/fasdf/sdafa/sfsa.html(or any other extension) it will goto http://www.blah.com/index.html

And I want to do it without putting a htaccess in every folder

I just cant find where to do it...I know there is something I should be searching for I just need pointed in the right direction.

thanks guys
__________________
skype:wobbbbb aim: wob
en1 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2006, 09:06 PM   #2
czarina
Webmaster Extraordinaire
 
czarina's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: A beautiful beach...
Posts: 10,748
Keep trying you'll get there.
czarina is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2006, 09:07 PM   #3
RogerV10
Confirmed User
 
Join Date: May 2006
Posts: 1,000
Google querey ".httaccess redirect"
__________________

See how woman just give me their Money! you too can make easy money with GGWCash. join off my sig and get a free GGW Trucker hat or shirt now!
http://www.ggwcash.com/?wmid=957
Also when you get a chance check out www.PornoPushers.com

ICQ: 161759738 AIM:RemoteRoger
RogerV10 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2006, 09:09 PM   #4
r-c-e
Confirmed User
 
Join Date: Jul 2002
Posts: 1,070
I guess a quick solution would be to make the target page your 404 page.

ErrorDocument 404 http://www.site.com/page.html
r-c-e is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2006, 09:10 PM   #5
Spudstr
Confirmed User
 
Spudstr's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: In a Tater Patch
Posts: 2,321
Quote:
Originally Posted by r-c-e
I guess a quick solution would be to make the target page your 404 page.

ErrorDocument 404 http://www.site.com/page.html

put that in your root folder and it will be used in every folder under it.
__________________
Managed Hosting - Colocation - Network Services
Yellow Fiber Networks
icq: 19876563
Spudstr is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2006, 09:11 PM   #6
en1
Confirmed User
 
Join Date: Jun 2004
Posts: 858
yea I read up on the redirect code...but it told me to put /directory/file.file goes to /file i want the first variable to be a wild card...so it will do it no matter what the directory is... maybe im missing it in here..ill keep reading up on it
__________________
skype:wobbbbb aim: wob
en1 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2006, 09:14 PM   #7
en1
Confirmed User
 
Join Date: Jun 2004
Posts: 858
Quote:
Originally Posted by r-c-e
I guess a quick solution would be to make the target page your 404 page.

ErrorDocument 404 http://www.site.com/page.html

holy shit was i looking to much into this....that worked perfectly...lol

thank you very much!!!
__________________
skype:wobbbbb aim: wob
en1 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2006, 09:17 PM   #8
r-c-e
Confirmed User
 
Join Date: Jul 2002
Posts: 1,070
Quote:
Originally Posted by en1
holy shit was i looking to much into this....that worked perfectly...lol

thank you very much!!!
No problem, glad I could help
r-c-e is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-10-2006, 09:39 PM   #9
Love Sex
Confirmed User
 
Join Date: Nov 2004
Posts: 1,905
look up 404 error page and make it in notepade
Love Sex 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.