vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   rewrite help? (https://vborg.vbsupport.ru/showthread.php?t=69654)

iceman11111 09-20-2004 04:18 AM

rewrite help?
 
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

Quote:

Originally Posted by iceman11111
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


Code:

----.htaccess-------------


RewriteEngine on
RewriteRule ^forums/index.php$ http://%{SERVER_NAME}/forums/ [R,L]
RewriteRule ^index.php$ http://%{SERVER_NAME}/ [R,L]



All times are GMT. The time now is 01:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01462 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete