Wordpress On Site Index?

Wordpress On Site Index?

Posted by: Joseph Witchard
Posted on: 2007-09-22 20:50:00

How would I get my wordpress blog that I just installed to show up on the main page of my website?

Re: Wordpress On Site Index?

Posted by: patricktan
Posted on: 2007-09-22 21:44:00

There are few ways to achieve that.

If you already install wordpress in a subdirectory, you can redirect to wordpress from your index file. Create a index file in the home folder of you domain like this:

<html>
<head>
<meta HTTP-EQUIV="REFRESH" CONTENT="0; URL=wordpress/index.php">
</head>
</html>

Re: Wordpress On Site Index?

Posted by: theMezz
Posted on: 2007-09-23 06:02:00

OR just create a file called index.php with one line in it as follows..


<?php header('Location: http://photos.theMezz.com'); ?>

put that in your main dir and replace Location with the URL to your blog

Re: Wordpress On Site Index?

Posted by: monkeyboy7706
Posted on: 2007-09-23 07:35:00

The other option would be to move the whole blog out of the folder it is in and move to the main page. This would break the one click install if you used it though preventing upgrades using one-click.

the other option may be to change the folder the domain points to to be the one containing the blog

Both these would require a few changes to the wordpress install because of the change to the url it will be using.

take a look at http://codex.wordpress.org/Moving_WordPress. The instructions are for various ways to move wordpress.

More codes

Tags: wordpressblog