The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Getting rid of index.php?
How do you get rid of the index.php? in the url?
I would like my URL to read: http://www.women4fitness.com/forums/ not http://www.women4fitness.com/forums/index.php? I find, that by doing this I get a better PR on google for my forums page. Could someone please point me in the right direction. Thanks Iceman |
#2
|
||||
|
||||
AFAIK, if google *could* see /forums/, it would be the list of directories and files in that directory...not what it sees when it goes to /forums/index.php
If I'm incorrect, someone please say. |
#3
|
||||
|
||||
Its possible i believe you just edit apaches httpd.conf and remove *.php for root directory therfore even if index.php exists it will just show a list of files, but index.php will still be viewable
|
#4
|
|||
|
|||
Here's an example of my other site (using Vb2)
http://www.intense-training.com/forums/ (has a 4/10 PR) http://www.intense-training.com/forums/index.php3?s= (has a 0/10 PR) But the funny thing is, they are the same page! Google just seems to except a cleaner, shorter link! I know it has something to do with the htaccess and re-write rules, I just forget how I did it all! |
#5
|
|||
|
|||
bump!
|
#6
|
||||
|
||||
Uhhh... most Apache servers that have PHP installed on them have "index.php" set as one of the root files shown, so pointing all links to "/forums/" will automatically link to "index.php" (or index.html first if it exists)
Just alter your links. The php file should stay where it is. |
#7
|
|||
|
|||
Quote:
|
#8
|
|||
|
|||
|
#9
|
|||
|
|||
that of course would mean, no index.php... but u might want to look into that
|
#10
|
|||
|
|||
well there is a way to do it via htaccess
But I am not really up on my rewrite rules Can anyone help out? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|