PDA

View Full Version : Using Forum AS Main Site? Stop forum.php from showing?


mrdexx
02-14-2010, 12:18 AM
Hi there,

I just purchased vB 4.01 and I setup my new website, which is actually just a forum.

i.e. TheDogForum.com

Now I renamed forum.php to index.php (backed up index.php) and loaded the vB file into the public_html main directory.

So when people go to my site:

www.thedogforum.com

They land directly into the forum...which is perfect!

The problem is on the Navigation Bar and the Image Title itself, when clicked, redirects people to www.thedogforum.com/forum.php

Which I do not want!
(I had to make a copy of forum.php otherwise it returned with a file not found error)

How can I stop the site from even linking to forum.php?

Please let me know,

~Dexx

borbole
02-14-2010, 01:25 PM
Do you mean that you want the Forum tab not to redirect to forum.php when clicked? If so, at the navbar template, find the following code:

<a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a>

And replace the url inside the href attribute with the url you want.

shzad1
01-28-2011, 09:35 AM
Not working . Any new Method to overcome this problem?

www.xyzabc.com/forum.php (Can i remove OR HIDE forum.php from Address Bar ?)

Thank you in Advance :)

your24hourstore
01-28-2011, 05:17 PM
i dont see forums.php

your24hourstore
01-28-2011, 05:41 PM
must have got it because it shows forum.php doesn't exist