![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
|
htaccess question
I have mydomain.com - I have mydomain.com/members/
I don't want anyone to get to mydomain.com/members/ unless they enter from mydomain.com/members.html If someone does try to access directly from mydomain.com/members/ I want it to redirect them to mydomain.com/members.html I can't seem to figure this out . . . anyone know? Thank you in advance |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
|
it can also redirect to 404.html if that would make it easier
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Feb 2004
Location: ICQ: 132497047
Posts: 4,467
|
easy way, stick an index.html file with a redirect script that goes instant to members.html
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
|
I don't have anything, but would start by making up a modified version of antihotlinking mod_rewrite code... Is that what you've tried?
It also won't stop everyone as some peopel will block their referer. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Feb 2004
Location: ICQ: 132497047
Posts: 4,467
|
PHP Code:
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
So Fucking Banned
Join Date: Dec 2003
Posts: 1,536
|
try 404html. if it would be easier.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Aug 2002
Posts: 9,752
|
Hello,
That is a great idea, I try so hard to get my customers to do this. It will really help your site on so many levels. The code to do this and more is here: http://www.easywebsitepromotion.com/...ips-tricks.htm ![]() ![]() ![]() My first three thumbs up here. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Sep 2003
Posts: 8,713
|
You can cookie the surfers that visit your main url then if they wont have a cookie at the members area page you can use a redirect functions with php or javascript to send them to any page you like.
If you need any help with writting it i can give you the code. 210-623-566
__________________
![]() TrafficCashGold Paying Webmasters Since 1996! Awesome Conversions! Fast Weekly Payments! Over 125 Tours! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
|
I would like to thank venturi . . . we figured it out, and all is well now
thanks buddy ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Aug 2001
Location: An Oasis atop a High Desert Mesa
Posts: 386
|
t'was nothin' brothah!
Hell, I hadn't talked to you directly since Phoenix so a call was in order anyway. ![]()
__________________
I'm not a porn monger. I'm a porn ... STYLIST! Buildit Cheap, build it Fast, Build it Right. - Pick Two. |
![]() |
![]() ![]() ![]() ![]() ![]() |