Advanced Search

Results 1 to 2 of 2

Thread: Accessing a subfolder from a main page

  1. #1
    Join Date
    Jun 2008
    Posts
    40
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Default Accessing a subfolder from a main page

    I was curious if someone could help me with something...

    I'm trying to put a Wordpress blog on the home page of my site. The issue I'm having is the site is already developed, and so the Wordpress install is in a subfolder ('blog'). Is there anyway to get it so when someone visits my homepage it goes to the blog subfolder without changing the URL? I have a .htaccess setup.

  2. #2
    Join Date
    Jul 2006
    Posts
    497
    Thanks
    8
    Thanked 70 Times in 70 Posts

    Default

    Sure, include or require it.
    http://php.net/manual/en/function.require.php
    http://php.net/manual/en/function.include.php

    EDIT: And please read (or at least search) the manual, especially before your next question. A tutorial would do you good as well.
    -- Chris
    informal JavaScript student of Douglas Crockford
    I like wikis - a lot.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •