Change Theme

Change Font Size

decrease size increase size

Search


WP On Index


This snippet/tutorial, allows you to put your WordPress on your index page,
while it is still on another folder.

First of all, download your index.php from your WordPress folder.
Make sure you remember where you saved your index.php.

Open up index.php you just downloaded with Notepad.

<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('YOUR WORDPRESS FOLDER
/wp-blog-header.php');
?>

Edit YOUR WORDPRESS FOLDER to your WordPress folder name.

Upload the index.php you just downloaded to your ROOT folder.
Make sure you have a backup of your other index.php file.

You’re done!



Leave a Comment
(will not published)
Bold Underlined Italics Quote Ext Link
:biggrin: :blank: :blush: :confused: :cool: :cute: :dead: :evil: :frown: :ouchies: :secret: :shock: :smile: :stress: :upsidedown: :wink: :yawn: :yell: :yuck: :yummy: :tv: :music: :heart: :drink: :floppy: :ahh: :aww: :duh: :eww: :grr: :hmm: :yay: :wtf: :wow: :umm: :omg: :lol: :huh: :blah: :haha: :hehe: :sigh: :rofl: :pssh: :ouch: :muah: :lmao: :iheartu:
* indicates required field