Wordpress As Your Index
This tutorial will show how to make your wordpress blog to be displayed on your index page as your initial adress "http://yoursite.com" rather then "http://yoursite.com/wordpress" or "/wp" which ever directory you use. It's very simple.
Instructions
Step 1:First open up your text editor or whatever you use to manage/write your files for your site. If you have windows, you can use notepad.
On this new blank page,copy+paste the code below onto this blank page.. Edit the header path if needed, or else this tutorial will not be effective.
<?php /* Short and sweet */ define('WP_USE_THEMES', true); require('wordpress/wp-blog-header.php'); ?>If your wordpress files are uploaded into your directory in a wordpress folder, then leave the code as is. If not, change the part of the code that says ('wordpress/wp-blog-header.php') to the correct path of your wordpress blog header.
Step 2:
Now that you pasted this code onto the blank file, save this file as "index.php" Then, open your FTP, and upload this file (index.php) into the main directory. If you already have a file of this name, simply let this one replace it.
Step 3:
The next thing you need to do is log into your WP Dashboard. Once logged into your wordpress, click on settings.
Step 4:
Change your blog url respectively to http://yoursite.com. Because you're calling for the index file, putting http://yoursite.com/index.php isn't necessary just your site address alone calls the index file by default. You do not need to change the Wordpress Address unless the path of your WP files aren't correct. Typically, it does not need to be altered.
After I fixed my settings to the way my wordpress is installed, it turned out to look like the image below. Your shoud be similar.
Step 5:
Now all you have to do is update your settings. Scroll down to the bottom of the settings page and click update.
Type in your address bard http://yoursite.com and your wordpress blog should be your index page. If you have any problems, try reviewing the steps once more or ask me via comment or contact page.
Call me Jay! I'm a 15 year old residing in Georgia. I like to read, play dress up and write. School is a big part of my life, and I hope to do big things. Web and graphic design are just some of the many things I'm attached to. In a nut shell, I'm not your typical teenager.




