• I’m a noob to an extent so do not go rushing on the technicalities. I am also aware that there are threads about these before but I didn’t get two words out of them.
    I’ve download v1.2 and installed it in /blog/
    Now, I want to change it so that the index is in the root as /home.php.
    Tell me where I’ve gone wrong. First I made a new home.php in the / and copied all the code from the original index.php. I changed the first line so that it now says
    <?php require(‘/home/matthew/public_html/blog/wp-blog-header.php’); ?>
    I went to general settings and changed the blog uri to http://www.mysite.com. The wordpress uri still remains as http://www.mysite.com/blog.
    UPDATE: I also edited my .htaccess file in my root dir and added the permalink re-write codes. I deleted the .htaccess file in the blog file since it wouldnt be needed anymore.
    Have I missed anything? The Home page is turning out with the wordpress posts, but any archives/readmore/perma links return a 404: Page not found

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you looked at ‘wp-blog-header.php’ and seen if that has a reference to ‘site url’ in it ?
    I recall someone on #irc last night hving the same problem as you, and sorting it by correcting something in that file.
    Apologies for being so vague.

    I just did this last night and was surprised at how easy it was.
    First, I backed up my wordpress folder and my destination folder. I didn’t need to but it made me feel good.
    I moved all the contents of the wordpress folder into the destination folder.
    I changed the WordPress address and Blog address in Admin:Options:General.
    In my option I just moved my old index.shtml file and the wordpress index.php became the default file. But if you need it to be called Home then the .htaccess file should take care of the redirecting for you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘HELP!! Changing Dir Locations’ is closed to new replies.