Log in

View Full Version : Accessing a subfolder from a main page



Keleth
06-11-2009, 04:12 AM
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.

Jesdisciple
06-19-2009, 01:53 AM
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.