WP Hive » Installation and Configuration

So frustrated! Redirect after new blog

(8 posts)
  • Started 1 year ago by Kim
  • Latest reply from ikailo
  • 1 Members Subscribed To Topic

  1. Kim
    Member

    Hey,

    I have lost two days of my life trying to get multiple blogs out of WordPress. First I tried wpmu but then started all over thinking this would be the answer. I'm not so sure now!

    I have searched and searched through the forums but I'm not finding any answers.

    I installed wordpress into mydomain.com/blog (I changed the wordpress to directory to blog before I uploaded via ftp.)

    I then uploaded wp-hive to /blog/wp-content/plugins as the instructions said. I watched out for the "special files - sitemap, robots, favicon" and then from my dashboard I activated the plugin.

    Then I tried to add a new blog by clicking add new site after activating. It was to be in a subdirectory - mydomain.com/blog/blog2.

    I entered
    domain: mydomain.com
    directory: blog/blog2
    prefix: _blog2 (don't remember if underscore is before or after but I followed example and just used blog2 instead of wp)

    It said the site was created but something about "pretty permalinks" so I clicked on the link to the settings and was redirected to blog/wp-admin/install.php. I have tried to get to blog/blog2/wp-admin but to no avail. I think it is the standard 404 Page not found. When I go to mydomain.com/blog I can see the Hello World entry. Then I try to login and it redirects to root directory (mydomain.com/wp-admin) and get another Page not Found.

    I have no idea what is going on and if I have to uninstall and reinstall to set up my blog and theme again, I will become bald from pulling my hair out!

    Any help is greatly appreciated!!

    Posted 1 year ago #
  2. Kim
    Member

    One note - after I uploaded wordpress I went through the full install process and added a theme before uploading wp-hive to plugins.

    Posted 1 year ago #
  3. catlover
    Member

    Could be a bad installation of WP.

    I have learned the hard way not to follow Wordpress.org's and thousands of other people's advice to use FTP software to install it.

    Instead, use CPANEL or whatever your host uses. Much faster, and you just upload the ZIP or TAR.GZ version of Wordpress, and then unzip it with CPANEL. It is much safer, too.

    Solved my problems, which saw me spending hours figuring out that permissions had been changed by my FTP software... etc. etc..

    Posted 1 year ago #
  4. ikailo
    Developer

    #1 - WordPress must be installed in the root. (eg: http://domain.com, not http://domain.com/blog/)

    #2 - Subdirectory sites (eg: http://domain.com/site1) are still not working correctly with the latest public release, however the pre-release does have this resolved.

    To remove WP Hive completely, first delete "wp-content/db.php" and then remove the wphive_config and wphive_hosts tables from the database.

    Cheers

    Posted 1 year ago #
  5. Kim
    Member

    Thx for the advice. I have watched the permissions after using FTP but I could indeed be missing something so I'll try that. I'm using godaddy deluxe Linux hosting.

    Ikailo - wordpress is installed in the root but per the instructions from wordpress, I changed the folder name from wp to blog before uploading. It is not domain.com/blog/wordpress! It is installed in the root with a different name. Or are you saying ALL files have to be in the root? So then I couldn't have my own homepage as it would go straight to inex.php? That doesn't seem right to me. And maybe I wasn't clear, but I'm not trying to have multiple blogs on different "sites" but different pages? So it is not domain.com/diffsitedomain/wordpress but domain.com/bloggeneral, domain.com/blogphotos, etc. Is that even possible?

    Also, I'm very aware of how to uninstall hive. I didn't ask how to accomplish that. But now it seems from you stating that that this plugin isn't what it tries to be and you the developer, doesn't really care about what people think? That would be unfortunate as I see some great potential here.

    Posted 1 year ago #
  6. ikailo
    Developer

    Kim, I can't say I really like your tone, considering you receiving both this plugin and the support for free.

    You said that "It was to be in a subdirectory - mydomain.com/blog/blog2", so I naturally assumed that you wanted it in second subdirectory. Also, most people who are frustrated after two days just want their blogs back, so I obviously incorrectly assumed you wanted to get your blog 'back to normal'. My misunderstanding.

    Try these steps:

    1. Make sure wordpress is installed and working so that it is accessed using http://mydomain.com. It doesn't matter what folder you put it in on the webserver, as long as it is in the root when looking at it from the public.

    If you are accessing it using http://mydomain.com/blog/, then it is not correct, even if WordPress says that this is a good way to do it. WP Hive will not recognize it. There are 'hacky' ways around this, which require vhost / virtual directory configurations on the webserver, but it's way more technical and complex and not especially easy to maintain. I don't know of anyone who has successfully (or wantingly) installed it.

    2. Install the WP Hive plugin. When it installs, WP Hive creates an entry for the first site, which by default is: domain "mydomain.com", path "/", and Prefix "wp_". Leave this one alone.

    3. Add the new site into the hive. Use domain "mydomain.com", path "/blogphotos", prefix "blogphotos_".

    4. Click on the "Install Site", and you should go through the install process. You can then access the admin of this site via http://mydomain.com/blogphotos/wp-admin/

    5. The current release has some issues with subdirectories, so accessing wp-admin can be confusing and does not always work. You're better off to do this using the new pre-release version.

    I hope this helps.

    Posted 1 year ago #
  7. Kim
    Member

    Thanks again for you help ikailo. I hope you got my email.

    So I followed the steps above to a "T". I wiped out my SQL databases for WP and WP-Hive and did a fresh install of WP then Hive. I left the folder as wordpress, not blog.

    I activated Hive and made sure the default site was there, with path "/" and prefix "wp_" and I did not touch that. I then added a new site, "blogphotos" with directory of "/blogphotos" and prefix of "photos_". I then clicked install site. It sent me to domain.com/blogphotos with a 404 Error page not found. I went back to my wordpress/wp-admin and then clicked on WP Hive and saw it had created two entries for blogphotos, one with id 2, the other with id 3. And instead of "view site" it has "install site" to their right.

    What did I do wrong? I rechecked my spelling in hopes it was an ID 10 T problem. It could still be though.

    Thanks again!

    Posted 1 year ago #
  8. ikailo
    Developer

    Kim, if you email me the specific URL that you are using, then I would be happy to have a look and see if I can make any recommendations.

    But, from the fact that you are going to "wordpress/wp-admin" for the main admin, it appears to me that you are installing wordpress in a subdirectory: http://mydomain.com/wordpress/, and not in the root http://mydomain.com.

    Wordpress must be installed in the public root of the domain for WP Hive to work.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.