PDA

View Full Version : How do I make my homepage URL...


DarknessDivine
06-10-2004, 03:35 PM
Okay here's what I have now MadMadDeals.com/cmps_index.php and I want my portals address to look like so MadMadDeals.com without the extra /cmps_index.php on th end. Am I asking the impossible here? :confused:

mofohead
06-10-2004, 03:52 PM
Not at all...here's what I did. I dropped an ASP file on the root of my web that redirects to my forum. I didn't want people to have to go to www.domain.com/forum/adv_index.php so I have the redirector on the root of domain.com and that points to forum/adv_index.php. Here is what it looks like.

<%
Response.Redirect "forum/adv_install.php"
%>

I named that file default.asp then put it on the root of my web and set IIS to start on default.asp

I hope this helps...if not let me know...i'd be glad to help.

Our Sponsors
 

mofohead
06-10-2004, 03:58 PM
A little more info.....

It looks like you don't have that file in a forum directory so why don't you just change the name to index.php. So long as index.php is a default document in IIS it will automatically start on that index page when someone goes to www.madmaddeals.com......that is if you are on a Windows based system using IIS. Otherwise, I'm probably just pointing you in the totally wrong direction.

mholtum
06-10-2004, 04:05 PM
if the cmps_index.php file is in your root and your forums are in a seperate directory, just change the cmps_index.php to index.php and your visitors when going to http://www.madmaddeals.com will see your portal...

Our Sponsors
 

Raitsa
06-24-2004, 05:15 AM
but what if cmps & forum are in the same directory?

Then when users click on the forum logo etc, you always end up in the cmps index instead of the forum index.

Any easy cure for this?

DarknessDivine
06-24-2004, 11:01 AM
For my problem.......
if the cmps_index.php file is in your root and your forums are in a seperate directory, just change the cmps_index.php to index.php and your visitors when going to http://www.madmaddeals.com will see your portal...
That's exactly it..;)

And I have no answer for the
post above this one...sorry :o

Jason McConnell
06-30-2004, 12:22 PM
but what if cmps & forum are in the same directory?

Then when users click on the forum logo etc, you always end up in the cmps index instead of the forum index.

Any easy cure for this?

Check out this thread, specifically Zachery's first post. it incorporates a Home link in your Forum, and a Forum link in the navbar of your portal.

http://www.vbadvanced.com/forum/showthread.php?t=41&page=1&pp=30

Raitsa
06-30-2004, 01:55 PM
Thanks Jason & DD, i have installed that one & i like it, but could not make it 100% right with that one either.
But thats just me & my inadequate programming skills maybe... :)

I have now a satisfactory solution in use, but would like to change it just the way it should be, but i cant.

Maybe i should reinstall cmps in another dir, but now that it works quite nicely, i dont dare i think.

mholtum
06-30-2004, 02:27 PM
I installed CMPS into my Root and have my forums in /forum this is much better, IMO

Raitsa
06-30-2004, 04:41 PM
Yeah i believe it now, i just did not think of it when i started installing cmps.

Any idea how to change the locations easily? Or do i need to remove & reinstall cmps... Gulp.

Brian
07-01-2004, 12:50 AM
http://www.vbadvanced.com/forum/showthread.php?t=25 ;)

Raitsa
07-01-2004, 01:55 AM
Damn that was easy! :)

*Raitsa takes off his hat and bows down to Brian, once again*

Thank you Brian & Zachery, exemplary customer service here.

TheNFLForums
04-17-2005, 12:07 AM
Okay I'm not sure where to post this..but this is a similar problem I'm having.

I have my portal page as index.php, and the forums in /forums.

when I used index.cfm as a default, users could type in the url (http://www.strike3forums.com) and get the index page that I had created. When I installed the cmps page, I deleted it, thinking that index.php would default...It *won't!*

I had one of my friends type up a script that redirects, using a .cfm file, but that is ugly & isn't what I want...

Any ideas?

Brian
04-17-2005, 05:34 PM
You need to contact your host and get them to add .php as allowed index extensions.

TheNFLForums
04-22-2005, 08:51 PM
Thanks Brian...Got it working! :)