• Ive been going through the various upgrade/move wordpress support pages, but cant find the specific page that would help me best…here is what i want to do:
    1. upgrade to the latest version of wordpress
    2. my current blog exists at https://www.site.com/blog/ and want to move it into the root directory being able to have a static front page (im aware that the new version of wp this is available), but keeping the main flow/stream of blogs at site.com/blog.

    ..so what is the best solution, steps that i can follow to set this up? do i have to copy the wp main files into my main site directory, or is it simply a matter of changing the wordpress address and blog address in my wp admin and then simply following through the upgrade process..

    I guess what im more confused about is how do i get my index page to be a part of wordpress, all while keeping my main blog the…blog…

    any help or suggestions would be great..thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • This article should help:
    Giving_WordPress_Its_Own_Directory

    Also look at Moving_WordPress

    Thread Starter bruceadam

    (@bruceadam)

    thanks for the reply.. I did come across these pages, so i think my questions come from the Giving_WordPress_Its_Own_Directory article… once i set up the wordpress and the blog urls’..and following the steps in that article, do i simply login to wordpress, and create a new ‘page’ and set this as the static homepage??

    sorry if im confusing…im just confused how to get my new index as a part of wordpress

    No, the static front page is really separate from the issue.

    In you webroot folder you will have an index.php file that has require('./wordpress/wp-blog-header.php'); and then the actual wordpress files will be in the wordpress subfolder.

    Thread Starter bruceadam

    (@bruceadam)

    ok..i think im getting somewhere..since my blog already is in its own /blog/ directory, i simply have to copy the index.php file into the root directory of my site and change the line that says: require(‘./wp-blog-header.php’); to require(‘./wordpress/wp-blog-header.php’);

    then i would simply have to create a new page in wpadmin and designate this page as the new static homepage?

    require('./blog/wp-blog-header.php');

    not

    require('./wordpress/wp-blog-header.php');

    Thread Starter bruceadam

    (@bruceadam)

    cool…thanks..ill let you know how it goes when i start to upgrade everything.

    BACKUP BACKUP BACKUP before doing anything just in case.

    Thread Starter bruceadam

    (@bruceadam)

    ok..so i upgraded successfully and now im having problems setting up the static front page..

    ive set up the homepage to view as a static front page, a test/temp page that i created..

    my wordpress(url) is https://www.site.com/blog
    my Blog address (URL): https://www.site.com

    the .htacess in my blog folder is:

    ‘# BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>

    # END WordPress’


    ..with the index page in the /blog folder

    ‘<?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require(‘./wp-blog-header.php’);
    ?>’

    .htaccess in site.com/ root:
    ‘# BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>

    # END WordPress’

    and index in site.com/root:
    <?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require(‘./blog/wp-blog-header.php’);
    ?>

    so my question is…what do i need to change to get the static page to work and the /blog to show my blog posts….

    sorry if there is any confusion here!

    Thread Starter bruceadam

    (@bruceadam)

    to clarify, as of right now with those settings, the site.com shows the static page…but when i type in site.com/blog then it is showing the static page too, and not my blog posts..

    Thread Starter bruceadam

    (@bruceadam)

    ok..i think i solved my own problem…I realized that with the static front page I had to create a page for my blog and under the reading-options tab, i had to redirect that to my ‘posts’…only then having to get a plugin for my permalinks to show not as the default (?p=23)..to a naming convention…(which should be the default!)

    if anybody out there is reading this other than me…my last question is i was trying to edit a stylesheet of the default theme and it wasnt updating at all, but when i went into the theme editor in the wordpress admin and changed values there it worked.. the only thing i can think of is in the presentation tab, where you choose the theme, under broken themes it shows:

    Name Description
    Stylesheet is missing.

    but no theme is given under the ‘name’..

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Moving and Upgrading’ is closed to new replies.