• I’d like to have a site where:

    mysite.com/wp (or something similar) houses the wordpress code (so that it’s not cluttering up my home directory and I can have a non-wp homepage)

    and I can have network wp sites with urls like
    mysite.com/foo/
    mysite.com/bar/

    But if I install into /wp/ then all my network sites end up as
    mysite.com/wp/foo/
    mysite.com/wp/bar/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Keep it slightly simpler…

    1. Install in the root / homedirectoy …mysite.com
    2. create / use your non-wp homepage; [assuming this is a static page]
    3. Dashboard > theme options > choose ‘static homepage’ and select the required page you created
    4. create the subfolder structure you require

    Tip:
    First try a simple static page and one subfolder to test if the outcome meets your needs.

    Alternatively you may want to explore the options available called ‘permalinks’ to make ‘easier urls’
    >> Dashboard > settings > permalinks

    Thread Starter fncll

    (@fncll)

    Thanks, but I might have been unclear. The home page(s) are not and cannot be WP pages as they are managed by a different system!

    I expected it would be easy to enter an external url to use as a homepage. Appearantly it’s not as easy as I thought; sorry.

    Plugins like these [search for ‘external page’] might do the trick:

    • ‘Page Links To’
    • ‘ELI’s SHORTCURL Shortcodes to Fetch and Parse External Content’

    Let me know how you’re getting on..?

    > Thanks, but I might have been unclear. The home page(s) are not and cannot be WP pages as they are managed by a different system!

    WP can be installed into an existing web site without interferring with the existing site’s content; but you would need to install some WP files (index.php and .htaccess) in the root dir to do what you want.

    https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Thread Starter fncll

    (@fncll)

    Yes, I’m aware of those instructions, and can do (and have done) that to deal with the home directory… but they do not address the presence of the subdirectory name in the secondary sites (other sites than the root).

    As I said:

    and I can have network wp sites with urls like
    mysite.com/foo/
    mysite.com/bar/

    But if I install into /wp/ then all my *network* sites end up as
    mysite.com/wp/foo/
    mysite.com/wp/bar/

    Have you triesd setting up ‘permalinks’ yet?
    It will allow you to ‘prettify’your urls, and get rid of the ‘path’ in it.

    Thread Starter fncll

    (@fncll)

    Yes, permalinks do not offer a solution to this problem.

    Would instead of using subfolders like,

    mysite.com/foo/
    mysite.com/bar/

    , a [set of] ‘subdomain[s]’ be acceptable, either for the wp-site or the others?

    ‘foo.myite.com’
    ‘bar.mysite.com’

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How do I install to achieve this subfolder structure’ is closed to new replies.