Wordpress in your index

Main >> Content >> Tutorials >> Wordpress >> Wordpress in your index

If you are using PHP you will soon notice that your pages woun't work in Wordpress. Your header and footer has to change.
Step 1: Copy the code under and paste it in a blank page on your Notepad or the editing program you're using.
<?php /* Short and sweet */ define('WP_USE_THEMES', true); require('wordpress/wp-blog-header.php'); ?>


Step 2: Save the file as index.php. Then open your FTP and upload the file to your main directory.

Step 3: Log in to your Wordpress dashboard and go to settings. Find the place where it says blog address.


Step 4: On general settings you have to change the blog address to just http://yoursite.com. Update the settings and you're done. The Wordpress will now be in your index.