WordPress.org

Ready to get started?Download WordPress

Forums

Set up multisite but blogs in own urls (19 posts)

  1. rowanwolf
    Member
    Posted 9 months ago #

    I am setting up a wordpress multisite. I want the blogs to bee off the root url - not wordpress. In other words,
    root.com/wordpress
    root.com (main bloga)
    root.com/blogb
    root.com/blogc

    rather than
    root.com/wordpress/bloga
    root.com/wordpress/blogb

    etc..

    Thanks

  2. chrismichaels84
    Member
    Posted 9 months ago #

    what directory is wordpress installed in? If you want your wordpress files to live in the /wordpress/ directory, but the site to run like it was on the root directory, then you need to move wordpress to its own directory BEFORE setting up multisite.

    I think I understood what you want. If you need more help give me a shout out. I've done this many times. It's pretty simple once you know how it works :)

  3. rowanwolf
    Member
    Posted 9 months ago #

    Thank you!

    So I assume that I upload wordpress to the root directory after expanding the files on my computer.

    Then I go through the install.

    Then I move all the files except index.php and .htaccess which I COPY to the /wordpress directory.

    Then, I do the multisite changes to the wp-config.php file.

    At that point I have wordpress installed as multisite in its own directory?

    I'm totally lost after that, but first things first.

  4. chrismichaels84
    Member
    Posted 9 months ago #

    Almost, its a little backwards. What I would do is move the wordpress folder from the zip into your site root so you have:
    http://www.example.com/
    - /wordpress/
    - index.php
    - wp-config.php
    - wp-blog-header.php
    - and all the rest.

    Then go to http://www.example.com/wordpress and go through the Famous 5 minute wordpress install to set up your admin and database and all that.

    Now, log into your admin and go to settings -> permalinks and choose whichever you like (you can change it later, just pick anything except the default. This will create the .htaccess file for you). Save the changes.

    Go to Settings -> General and make the site address http://www.example.com while the wordpress address is example.com/wordpress

    Save those changes.

    Copy (NOT MOVE!) the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address). The .htaccess file is invisible, so you may have to set your FTP client to show hidden files.

    Open your root directory's index.php file in a text editor
    Change the following and save the file. Change the line that says:
    require('./wp-blog-header.php') to
    require('./wordpress/wp-blog-header.php');

    Now wordpress lives (invisibly) under /wordpress/ and the site works from example .com.

    Now, open up /wordpress/wp-config.php and add

    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );

    Then when you login next, under tools you will have Network setup that will get you going.

    A couple notes: you can only use subdirectory multisite like this:
    http://www.example.com/site1
    http://www.example.com/site2 and so on

    Always change the security keys in your wp-config file early on.

    The folder doesn't have to be /wordpress/ it could be /im-just-that-awesome/ for all wordpress cares. Just make the appropriate changes in wp-config and your Settings->General tab.

    Lemme know how it works for you.

  5. FYI, you should move WP to it's own directotry BEFORE you activate Multisite.

  6. rowanwolf
    Member
    Posted 9 months ago #

    Thanks so much chrismichaels84 as that is not the way I interpreted the directions, and thanks Mika for the reminder on multisite.

  7. rowanwolf
    Member
    Posted 9 months ago #

    Sorry,
    I am confused at the top of your instructions where you say:

    http://www.example.com/
    - /wordpress/
    - index.php
    - wp-config.php
    - wp-blog-header.php
    - and all the rest.

    I think you are saying put wordpress in its own directory off the root. And then it looks like you are saying to put index.php, wp-config.php, and wp-blog-header.php and all the rest of what ??? in the root directory???

  8. I think you are saying put wordpress in its own directory off the root. And then it looks like you are saying to put index.php, wp-config.php, and wp-blog-header.php and all the rest of what ??? in the root directory???

    If you HAVE NOT YET read this article about giving WP it's own directory, you MUST do so now: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    It is absolutely imperitive you do this as SINGLE INSTALL of WordPress before you activate Multisite.

    If this is too hard to do, you should not run Multisite. Multisite absolutely requires you to be messing with files directly. You've got to be comfortable with that, or you are in for a world of pain.

  9. rowanwolf
    Member
    Posted 9 months ago #

    Well, I started the install and ran into a problem.

    I own the domains exampl.com and example.net. I have been using Movabletype for years, and I have decided to switch to WordPress. I was planning on setting up my blogs (currently in mt and currently at .com) in WP in my .net domain.

    When I entered the first blog name, it would not let me save because it is "already owned" - by me, but not sure how to get that to work.

    I had planned on getting the setup to work in the .net account and then deciding on whether to move it to the .com domain or relaunch in .net.

  10. rowanwolf
    Member
    Posted 9 months ago #

    The problem is not that I don't feel comfortable with moving and modifying files. I do feel relatively comfortable doing that. The problem is the assumption that everyone knows what the assumption that every knows what the "core" WordPress files are (Instruction 6).

    Or even where one is installing to start with.

    What I did was to
    1. I created a database on my server account for WP, and assigned a user.
    2. Expanded the latest WP on my PC
    3. I accessed my server account via filezilla and uploaded the files to /wordpress.
    3. I went into the 5 minute setup.
    4. I created an .htaccess file as instructed above.
    5. everything fell apart because it would not accept my blog name.

    I never got to copying anything or moving "core files".

  11. The problem is the assumption that everyone knows what the assumption that every knows what the "core" WordPress files are (Instruction 6).

    They would be the files that come with a download of WP. You can go to http://wordpress.org/download/ and download a zip to see :)

    5. everything fell apart because it would not accept my blog name.

    How did you get from 4 to 5? What 'blogname' is 'what' not accepting?

  12. rowanwolf
    Member
    Posted 9 months ago #

    So, all of the files with wordpress are the "core" files?

    For number 5, I was in the admin panel and selected settings ---> "general" as directed to set up my first site.

    Go to Settings -> General and make the site address http://www.example.com while the wordpress address is example.com/wordpress

    Part 2
    I have two domains - uncommonthought.com and uncommonthought.net

    I am trying to move my sites from uncommonthought.com where they are in MovebleType to uncommonthought.net where they are in going to be in WordPress hopefully.

    When I entered the first blog name - Uncommon Thought, a yahoo search screen came up informing me that Uncommon Thought was a name that was already taken.

  13. When I entered the first blog name - Uncommon Thought, a yahoo search screen came up informing me that Uncommon Thought was a name that was already taken.

    Okay that's NOT a part of WP.

    Where is WP installed right now?

    Keep in mind, giving WP it's own directory is not related to changing domain names. And, in fact, moving a Multisite is an annoying PITA, so let's step back a moment.

    Are we ONLY talking about installing WP in a subfolder and having it run out of the main folder? Like this:

    WP installed in example.com/wordpress
    WP URL is example.com

    Because that's the only advice anyone's been giving you here. Changing horses midstream gets ya bite by the horse :)

  14. rowanwolf
    Member
    Posted 9 months ago #

    Sorry,no bites or kicks from the horse.

    The problem I ran into stopped me from completing the install - much less moving on to the multisite. Otherwise I would not have mentioned it.

    I want wordpress in its own directory off the root, and I want my blogs to be in their own subdirectories

    example.com.blog1 rather than example,com/wordpress/blog1.

  15. extremist
    Member
    Posted 9 months ago #

    Thnaks a lot, Hope I can figure out now!

  16. rowanwolf
    Member
    Posted 9 months ago #

    Sorry. I left out that WP is installed in example.com/wordpress

  17. WP is installed in example.com/wordpress

    Good.

    Where is it RUNNING from? If you can't go to example.com and see your site content, etc, we need to step back and re-read this: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

    Remember, you haven't given us real URLs so we can't look and see, so we're relying on you being clear and concise when you tell us what your set up is. DO NOT RUSH AHEAD. Be patient, or this will end poorly, okay?

    If you have all this working as a SINGLE install (no Multisite), then and ONLY then can we move on to activating Multisite.

    We are not even going to touch 'part two' until part one is working.

    So ignoring the multiple domains, can you log in to example.com and see that everything works? It's all running from example.com/wordpress ? (view page source on example.com and your theme should run from example.com/wordpress/wp-content/themes )

  18. rowanwolf
    Member
    Posted 9 months ago #

    Sorry,I thought I did give real domains above

    WP is installed in my .net account - uncommonthought.net/wordpress

    My "live" site in MT is uncommonthought.com

    Unfortunately, even I can't access it as it gives me an "error handler" error now. I assume because of the error I mentioned above that did not allow me to proceed with the install.

    I would guess that what I need to do at this point is to delete the .htaccess file and the wp-config.php file, and then try to set up again.?

  19. Well. No.

    view-source:http://uncommonthought.net/wordpress/

    <link rel='stylesheet' id='twentythirteen-style-css'  href='http://uncommonthought.net/wp-content/themes/twentythirteen/style.css?ver=2013-07-18' type='text/css' media='all' />

    That tells me WP is installed and running from http://uncommonthought.net

    If it was in the wordpress folder, it would look like this:

    <link rel='stylesheet' id='twentythirteen-style-css'  href='http://uncommonthought.net/wordpress/wp-content/themes/twentythirteen/style.css?ver=2013-07-18' type='text/css' media='all' />

    If you have nothing to lose, I would delete it all and start over. The DB and everything. You did something wrong/weird here (possible flipping use of home and site URLs)

Reply

You must log in to post.

About this Topic

Tags

No tags yet.