How to: Set WordPress Blog on Your Home Page While Leaving Admin Files in Subdirectory

You can easily set wordpress blog hosted in a subdirectory as a homepage. Let us assume that your blog is hosted at domain.com/blog/. To set home page for domain.com, create index.php in root directory and append the following code (note blog is hosted in /blog/ subdirectory):

Now if anyone visit domain.com, they will see blog home page w/o visiting domain.com/blog.

This way you can give out WordPress its own directory while leaving blog in the root directory. You can find more information here.

Author: admin

I like chocolate, gadgets, open source software, photography, traveling and all shades of green colors. I love spending time with fun loving friends and family members. This is my own online journal.

One thought on “How to: Set WordPress Blog on Your Home Page While Leaving Admin Files in Subdirectory”

Leave a Reply

Your email address will not be published. Required fields are marked *