Forums

The WordPress MU forums have moved to the MultiSite forum on WordPress.org

Install with subfolders problem. (9 posts)

  1. sysdevuser
    Member
    Posted 2 years ago #

    I have various wordpress blogs installed and running at some hosting sites. I have, also, each one of

    this blogs installed locally for backup, upgrading, and up and down ftping when needed.
    Now, I want to install (locally) wordpress mu to, eventually, relocate all local blogs and delete the

    non-mu wordpress. Installation started ok but then ... .

    My local setup is windows 2000k, IEII, php 5.2, mysql 5.1

    This steps where ok:

    1. Downloaded wordpressmu from http://mu.wordpress.org/download/ two days ago
    2. Unziped to k:\islasite\blogs\ and renamed to wpmu
    3. Created blank database wpmu in mysql
    4. Modified winnt/system32/drivers/etc/hosts
    127.0.0.1 localhost to 127.0.0.1 localhost localhost.com
    5. Created a virtual directory wpmu pointing to k:\islasite\blogs\wpmu
    6. Started firefox and localhost.com/wpmu/
    7. The "Welcome to WordPress ยต" came up and filled the blanks with the following:
    radio-button Sub-directories (like example.com/blog1) (my requirement)
    Database Name: wpmu
    User Name: root
    Password: <my password>
    Database Host: localhost
    Server Address: localhost.com
    Email: sysdevuser@yahoo.com
    --- and pressed the Submit button ---
    8. The "Installation Finished!" came up and "You can log in using the username "admin" and password

    eaf157e7afc8" which I did.
    9. Updated my profile with my preferred password.
    10. Pressed on "Visit Site" on top of the dashboard.
    11. I have now a wordpress page with "Localhost.com Blogs" which looks like a blog.
    12. There, in the sidebar under meta, is a link for "New Blog".
    13. I want to add a blog, thus, I press "New Blog"
    14. Then I see this message:"Greetings Site Administrator! You are currently allowing 'none'

    registrations. To change or disable registration go to your Options page."
    15. Following the "Options page" link I end up at "Site Options" page where I enable "Allow new

    registrations" and updated,
    16. Pressed on "Visit Site" on top of the dashboard again.
    17. At the "Localhost.com Blogs" main page again.
    18. pressed "New Blog" again.
    19. This time I end up at a new page "Get another Localhost.com Blogs blog in seconds" to fill.
    20. Blog name: cocosite
    21. Blog Title: Coco Beach Web Log
    22. Then I press the "Create Blog" button.
    23. And I get: "The blog Coco Beach Web Log is yours. http://localhost.com/wpmu/cocosite/ is your new

    blog. Login as "admin" using your existing password."

    And here is my problem because I can't login to the cocosite blog, in fact, there is no such thing as http://localhost.com/wpmu/cocosite/ . That directory does not exist.

    I have repeated this procedure three times: dropping the wpmu database, creating a new one, deleting

    wp-config.php from the wpmu directory, running localhost.com/wpmu again, and all the following steps to create the new blog. Ending up with the same results. So, I am doing something wrong or this can't be done.

    Can you help?

    Juan

  2. andrea_r
    Moderator
    Posted 2 years ago #

    No, you;re doing it right. At least one way. you can also create a new blog from the backend under Site Admin -> Blogs.

    It does NOT create a physical directory.

    If the blogs don;t show, since you're on windows you need a paid IIS rewrite module. The htaccess file is used to create both the permalinks and the members blogs in the subfolder format.

    Click on the hello world post. If that doesn't show, then that's definitely the issue.

  3. sysdevuser
    Member
    Posted 2 years ago #

    Andrea,

    Yes, I was looking for a physical directory. So, now I know better. The .htaccess is there and I was ignoring its use under windows.

    Thanks,

    Juan

  4. idealseo
    Member
    Posted 2 years ago #

    (sorry for posting on two threads, just realized this one is newer)

    I'm having a similar problem.... i installed WPMU on zuzuz.net I selected subfolders (since better for SEO I gather)

    Install worked fine
    Admin dashboard works fine
    Admin blog works fine
    New Blog / user creation works fine (from wp-signup & from inside admin dash)
    All new blog / users confirmation emails are sent and the blog appears in the admin list

    HOWEVER, when I visit one of the new blogs, i get a page does not exist error (404 error)

    please help :-(

    Thanks
    Clifton

  5. SteveAtty
    Member
    Posted 2 years ago #

    Sounds like mod_rewrite isn't working to me

  6. rodneybcn
    Member
    Posted 1 year ago #

    Any idea on how to get it working ?
    I have the very same problem here.

    WPMU's main blog is OK, main blog dashboard admin is ok, sub-blogs dashboard/admin access are OK, but mydomain.com/mysubblogdirectory/ won't work.
    Sick part is mydomain.com/mysubblogdirectory/wp-admin does work :-S

    How do I fix this .htaccess file ? here's mine :

    RewriteEngine On
    RewriteBase /

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    Thanks a lot !!

  7. andrea_r
    Moderator
    Posted 1 year ago #

    but mydomain.com/mysubblogdirectory/ won't work.
    Sick part is mydomain.com/mysubblogdirectory/wp-admin does work

    Then it;s not your rewrite rules. :P

    By "won;t work" what do you mean? A can't find the server error, a white screen, what?

  8. rodneybcn
    Member
    Posted 1 year ago #

    For both subBlogs I get :

    Not Found

    The requested URL /index.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at bingolab.net Port 80

    I get the mail wich confirms me the URL of the new created blog like:

    Dear User,

    Your new xxxxxx blog has been successfully set up at:
    http://xxxxxxxx.net/xxxxx/

    You can log in to the administrator account with the following information:
    Username: admin

    etc.

    Further I project to use dedicated domain names for each subBlogs, but for the moment I must access to both frontEnd in order to get the design right... And I'm not sure domains would work if I can't even access to mydomain.com/mysubBlog

    thanks for the help

  9. rodneybcn
    Member
    Posted 1 year ago #

    Have some news :

    I'm hosted @lunarpages, so I couldn't alter the Vhosts files.
    I wen't for the fourth reinstall of the day, which worked. Third did not worked, as I targetted the subdomain blog.domain.com type of blogs, I got the "DNS wildcard" error.
    Checked with LunarPages, neither do they cover this DNS wildcard stuff.

    So here I am, with subfolders blogs, every URL working. I don't know what happened this time, but everything seems OK.

    Thanks to everyone.

    Rod!

Topic Closed

This topic has been closed to new replies.

About this Topic