![]() |
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 |
it can also redirect to 404.html if that would make it easier
|
easy way, stick an index.html file with a redirect script that goes instant to members.html
|
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. |
PHP Code:
|
try 404html. if it would be easier.
|
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 :thumbsup :thumbsup :thumbsup My first three thumbs up here. |
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 |
I would like to thank venturi . . . we figured it out, and all is well now
thanks buddy :thumbsup |
t'was nothin' brothah!
Hell, I hadn't talked to you directly since Phoenix so a call was in order anyway. :) |
All times are GMT -7. The time now is 06:26 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123