![]() |
htaccess help
I have the following htaccess file
Code:
# This code handles redirecting to user profiles One to redirect domain.com/WHATEVER_USERNAME_IS_REQUESTED to domain.com/vb/member.php?username=WHATEVER_USERNAME_IS_REQUESTED The other is to correct some cookie issues that I believe is unrelated to my problem but I thought I should include it in this post so you can see the entire file. I want to exclude files and folders that actually exist on my server from being re-written URL's that direct you to a user profile. For instance, the folder blogs exists on my server and if I type in domain.com/blogs, I do not want to be redirected to http://DOMAIN.com/vb/member.php?username=blogs. After reading up on htaccess files, I had thought that the first two RewriteCond lines in the file would solve this problem, but for some reason when I type in http://www.MYDOMAIN.com/blogs my browser gives me the following error. Quote:
Best regards. --------------- Added [DATE]1230089025[/DATE] at [TIME]1230089025[/TIME] --------------- For anyone looking for the fix fir this problem... We were having some problems with this code, as it seemed to redirect actual directories that exist thinking that they were member user names. The following code seems to work better. It also includes the fix for the log-in issues some users experience when site administrators use vBulletin and vBAdvanced. Code:
Options +FollowSymLinks |
All times are GMT. The time now is 11:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|