![]() |
![]() |
![]() |
||||
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 |
Confirmed User
Join Date: Feb 2002
Location: New Jersey
Posts: 1,401
|
htaccess... redirecting based on username?
I got the piece of code from here before, but can't find it due to not being able to search. Is there anyone out there that can help me with it?
Basically, I need to redirect a certain username when they try and enter my member's area. It was similar to the mod rewrite that would redirect based on http referrer. Any help would be greatly appreciated... - PornAddict |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
OU812
Join Date: Feb 2001
Location: California
Posts: 12,651
|
can't help with user name redirect
but I also had code for htaccess that redirects by country like .de or .net or fr
__________________
Epic CashEpic Cash works for me Solar Cash Paysite Plugin Gallery of the day freesites,POTD,Gallery generator with free hosting |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Feb 2003
Posts: 7,340
|
Erm, you mean like abused usernames?
I'd try and get in touch with people who own password protection programmes. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: May 2004
Location: WorldWideContent.com - Los Angeles, CA
Posts: 78
|
in your .htaccess file, you can use the:
% PHP Code:
so in you would use mod_rewrite, and something like: RewriteCond %haha123;REMOTE_USER} ^user.* [NC] RewriteRule whatever...goes...here
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, you may use a 624x80 instead of a 120x60. Let me repeat... A 120 x 60 button and no more that 3 lines of DEFAULT SIZE AND COLOR text. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Feb 2002
Location: New Jersey
Posts: 1,401
|
Thank you Haganxy... that is exactly the code needed. I appreciate the help greatly!
- PornAddict |
![]() |
![]() ![]() ![]() ![]() ![]() |