Announcement

Collapse
No announcement yet.

How can I automatically direct my site to the forum?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I automatically direct my site to the forum?

    Hello,,,,,,,,

    How can I automatically direct my site to the forum?

    What I mean is that when any body type http://www.omanya.net the page should takes him/her automatically to http://www.omanya.net/vb

    What is the code which I shall put and where shall I add it?

  • #2
    5 days passed without getting any reply

    Comment


    • #3
      Create an .htaccess file with this content:

      Redirect permanent index.html http://www.omanya.net/vb

      Then upload it to your main web directory.
      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
      Change CKEditor Colors to Match Style (for 4.1.4 and above)

      Steve Machol Photography


      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


      Comment


      • #4
        In a real limited hosting environment that doesn't allow .htaccess (such as mine, even though it's dedicated) you could also do something like:

        index.php (of root folder)
        ---------
        <?
        header("Location: http://www.omanya.net/vb");
        ?>
        http://www.ragnarokhq.com (Administrator)
        Fansite for RagnarokOnline since 2002. Since I started I've learned a lot. I'm so vastly experienced at PHP I can pretty much code anything.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X