PDA

View Full Version : 'Extra' index.php


DTTO
01-28-2012, 05:59 PM
I'm sure this has to be a silly mistake or an easy fix; but I'm running on about 8 hours sleep in the last 5 days, and am getting over a serious stomach virus, so I can't think clearly right now. LOL

Anyways...am in the process of transferring a vBulletin board to the new server. Everything's gone swimmingly. HOWEVER...for some reason, in the last day or two, I've noticed that I can click on darn near any link on the vBulletin page and it just redirects to http://xxx.xxx.xxx.xxx/forums/index.php (where the x's obviously represent my server's IP - the DNS redirection of our actual website URL to that server has not yet been done.

I finally realized that what was happening (or at least it looks like it), is that the 'base' URL seems to be the entire URL above. For instance, if I'm on the server's vBulletin installation, and click on, say, my member settings link, it directs me to:

http://xxx.xxx.xxx.xxx/forums/index.php/member.php

In short, it seems to be inserting that 'index.php' in there regardless of what I do.

It does that with ANY link I click on. I don't believe this is a vBulletin thing at all; rather, it's probably a DNS thing or something similar. But again, I'm having problems thinking straight. Any thoughts?

kh99
01-28-2012, 06:04 PM
Check under "Site Name / URL / Contact Details" in the settings to make sure "Forum URL" doesn't have index.php in it.

DTTO
01-28-2012, 10:57 PM
It does not have index.php in it. Here's the way it's set up right now:

Forum URL: http://www.sitename.com
Homepage URL: Same as above
Always use forum URL as base path: Yes

Not sure what else in the vBulletin admin menu might affect this, but that's what I know so far.

Disasterpiece
01-28-2012, 11:21 PM
Shouldn't be the forum URL be "http://www.sitename.com/forum" then?

DTTO
01-28-2012, 11:26 PM
*smacks forehead* True, I suppose it should. LOL

Follow up question - the homepage *is* the forum, for now; if I set the homepage URL to www.sitename.com, and forum URL to www.sitename.com/forum, I should still be able to get to the forum by typing in either, correct?

Disasterpiece
01-28-2012, 11:41 PM
depends on the redirection you have in place.
If you put a .htaccess redirect or an index.php with a redirection in your domain root dir, it could point the user to $sitename/forum when he visits $sitename.

DTTO
01-28-2012, 11:45 PM
Ok...this is getting silly. LOL If I define the forum URL as www.sitename.com/forum, instead of member.php, for instance, being

www.sitename.com/index.php/member.php

it is instead

www.sitename.com/index.php/forum/member.php

LOL - it has to be something external to vBulletin, such as what you suggested above. I'll look into that aspect of it for now. Thanks for the assistance, and for not lynching the n00b quite yet. :)