View Full Version : rewrite help?
iceman11111
09-20-2004, 04:18 AM
I am having a slight problem when moving from my homepage to my forums
I would like my homepage to be:
http://www.women4fitness.com
NOT
http://www.women4fitness.com/index.php?
and same with my forums:
http://www.women4fitness.com/forums
NOT
http://www.women4fitness.com/forums/index.php?
How do I write a RewriteRule that would keep the index.php? from showing up?
Thanks
Iceman
iceman11111
09-20-2004, 02:23 PM
This is driving me nuts
I have split PR rates because of this as well
My Homepage should be www.women4fitness.com
and my forums should be www.women4fitness.com/forums/
Can anyone help?
blubber12
09-21-2004, 08:29 PM
This is driving me nuts
I have split PR rates because of this as well
My Homepage should be www.women4fitness.com
and my forums should be www.women4fitness.com/forums/
Can anyone help?
well when I go there...wom4fit.com is your home page. there is no index.php after the url. For your forum, I think you go into admincp vboptions and type in the proper address for your forum start page. I think that will work
clamcrusher
09-21-2004, 10:18 PM
you cant stop people from requesting blah.com/index.php
you could do an external redirect using htaccess, but your going to need to modify vbulletin so that all your links dont include the index.php? part....i cant help with that
but heres rewrite rules that would work if all you care about is the default pages
----.htaccess-------------
RewriteEngine on
RewriteRule ^forums/index.php$ http://%{SERVER_NAME}/forums/ [R,L]
RewriteRule ^index.php$ http://%{SERVER_NAME}/ [R,L]
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.