• I would appreciate seeing instructions for newly installing WordPress 2.8.6 using Fantastico into a custom directory configuration.

    Having studied the available guidance I have a pretty good idea of what’s needed, but to avoid mix-up I want to be sure of what I’m doing.

    I want to leave my existing site in place for now, and put the WP blog in a subfolder (linked from existing pages), with the WordPress files in their own folder in the root directory. Thus:

    /root
    ___/public_html
    ______index.htm (the existing front page)
    ______/(existing site folders & files)
    ______/blog
    _________/index.php
    ___/my-wordpress (wp db, etc)
    ___/(other root folders & files)

    So I plan to do the installation into root/my-wordpress (which Fantastico would auto-create), then move WP’s index.php into public_html/blog, adapting the addresses as shown here:

    Giving WordPress Its Own Directory
    https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    === Before moving index.php:

    (1) In the General panel, change the blog address to https://www.mydomain99999.net/blog/

    (2) Move index.php from root/my-wordpress to /public_html/blog

    (3) In index.php, change

    require(‘./wp-blog-header.php’)

    to

    require(‘./../my-wordpress/wp-blog-header.php’)

    (4) Move .htaccess from root/my-wordpress to /my-wordpress/blog

    Then move index.php.

    Does this sound right?

    Later, if I want WordPress to be the site shell (replacing or moving the existing pages), would that be a manageable conversion, using a similar procedure to move index.php and adjust the addresses?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Pardon me if I focus on one single point in your plan. I am doing so because I think it won’t work (properly).

    Storing WordPress files anywhere but a subfolder (or sub-subfolder, etc.) of public_html, or directly in public_html itself (bad idea for other reasons) will not work on any web host that I know of. To the best of my knowledge, only files in public_html are “visible” to the Internet via http protocol. And WordPress files definitely have to be visible.

    Thread Starter keys88

    (@keys88)

    Thank you. I’m so grateful to you for pointing this out. I hadn’t quite understood this very basic aspect of web host folder structures.

    Back to the drawing board …

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Fantastico directory configuration’ is closed to new replies.