• Resolved Tony4x4

    (@tony4x4)


    Hi there,

    Please can someone advise me what to do. My existing website was done in Joomla and I am wanting to convert to WP (from scratch), but my existing site needs to work while working on my new WP site.

    How do I do this?

    I am sure that during the install you can specify a directory for WP, which is fine, but what happens when I want WP to become my primary and it is in a sub directory and not the root.

    Hope I make sense.

    Thanks
    Tony

Viewing 4 replies - 1 through 4 (of 4 total)
  • Let’s say you put it in a folder (sub-folder of your web-root) called “blog”. Then access it for test purposes at mydomain.com/blog

    When ready to go live, and to make WordPress available at http://mydomain.com in Settings->General, change the Blog address (URL) to http://mydomain.com and put this index.php file in your web-root folder (it is the same folder that contains the blog folder)

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

    Then update your permalinks by visiting Administration > Settings > Permalinks and clicking on Save Changes.

    Thread Starter Tony4x4

    (@tony4x4)

    Thanks Michael,
    Does this affect SEO in anyway?

    I don’t believe so.

    Thread Starter Tony4x4

    (@tony4x4)

    Thanks Michael, launched my new WP site today. So much better than Joomla.
    Your code worked perfectly, thanks.

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

The topic ‘Installing WP with Joomla’ is closed to new replies.