WordPress.org

Ready to get started?Download WordPress

Forums

MiniMU
[resolved] search form and sub-categories not working? (9 posts)

  1. WpJoe
    Member
    Posted 2 years ago #

    I think I've found a couple of issues more. I splitted my main web in two categories like this;

    MainWeb .com
    2ndDomain .com ->(category 1)
    3rdDomain .com ->(category 2)

    and I use the same theme for all domains. Whenever I try to do a search with the searchform from 2nd or 3rd domain, it just doesn't work. It reports missing page. However, the search form works ok whenever you do a search from MainWeb .com.

    The second issue I've found is that sub-categories are working weird. I sub-divided each of above categories in sub-categories like this;

    2ndDomain .com ->(category 1)
    - sub-category 1
    - sub-category 2
    3rdDomain .com ->(category 2)
    - sub-category 1
    - sub-category 2

    Whenever you browse a sub-category;

    2ndDomain .com/category/category 1/sub-category 1

    wordpress navigation links you to the parent web, MainWeb .com in this example;

    MainWeb .com/category/category 1/sub-category 1/page/2

    and it should link to;

    2ndDomain .com/category/category 1/sub-category 1/page/2

    http://wordpress.org/extend/plugins/minimu/

  2. shelkie
    Member
    Plugin Author

    Posted 2 years ago #

    I can't seem to replicate the issue you've reported with the search function. It works fine with our test site, which is configured in a similar fashion to yours. Try it if you'd like: http://minimu.smashlab.com

    When you say that "wordpress navigation links you to the parent web", I'm not sure which links you are talking about. Could you be more specific?

  3. WpJoe
    Member
    Posted 2 years ago #

    Ok, let's say that parent web is http://minimu.smashlab.com and you create two categories for two new domains, blog1, blog2.

    http://minimu.smashlab.com
    -> category blog1 -> http://blog1.com
    -> category blog2 -> http://blog2.com

    On my installation the equivalent to this;

    http://minimu.smashlab.com/category/miscellaneous-category/

    ...works ok. Tags like this;

    http://minimu.smashlab.com/tag/misc-1/

    ...are working ok.

    If I create a sub category for http://minimu.smashlab.com "miscellaneous-category";

    http://minimu.smashlab.com/category/miscellaneous-category/miscellaneous-category-for-smashlab

    ...works ok.

    However, If I create a sub-category for blog1 or blog2;

    http://blog1.com/category/blog1/miscellaneous-category-for-blog1

    or

    http://blog2.com/category/blog2/miscellaneous-category-for-blog2

    ...then the web starts to do weird things. The template is not working ok and the wp navigation "older posts - newer post" points to http://minimu.smashlab.com instead of pointing to http://blog1.com or http://blog2.com

    Finally, the searcher works ok on http://minimu.smashlab.com but whenever you try a search on http://blog1.com or http://blog2.com, you get a "Nothing Found". This was using Twenty Eleven theme.

  4. shelkie
    Member
    Plugin Author

    Posted 2 years ago #

    Strange - believe I've replicated your configuration as closely as possible, but I'm not spotting the issues you are.
    http://blog2.smashlab.com/category/blog2/blog-2-stuff-sub-category/

  5. WpJoe
    Member
    Posted 2 years ago #

    Hi;

    Perhaps the problem is that you are working with subdomains;

    http://minimu.smashlab.com
    http://blog1.smashlab.com
    http://blog2.smashlab.com

    And I'm working with 3 different full domains;

    http://smashlab.com
    http://2ndDomain.com
    http://3rdDomain.com

  6. WpJoe
    Member
    Posted 2 years ago #

    Ok, another finding;

    http://smashlab.com
    http://2ndDomain.com
    http://3rdDomain.com

    This;

    http://2ndDomain.com/category/2ndDomain/subcategory-for-2nddomain

    ...doesn't work. But if I change 2ndDomain for 3rdDomain after /category/;

    http://2ndDomain.com/category/3RDDOMAIN/subcategory-for-2nddomain

    ...it works like charms.

    And I tried the same for 3rdDomain. This

    http://3rdDomain.com/category/3rdDomain/subcategory-for-3rddomain

    ...doesn't work. But this;

    http://3ndDomain.com/category/2NDDOMAIN/subcategory-for-3nddomain

    ...works ok.

    I didn't sort the searcher problem out yet.

  7. shelkie
    Member
    Plugin Author

    Posted 2 years ago #

    Very strange - almost sounds like it might be an issue with your .htaccess rewrite rules?

  8. WpJoe
    Member
    Posted 2 years ago #

    My htaccess are the default rules that WP generates whenever you do a fresh install;

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /parentweb/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /parentweb/index.php [L]
    </IfModule>
    # END WordPress

    Do you need to change anything so MiniMu works?

    An update on the subcategories issue;

    This;

    http://2ndDomain.com/category/2ndDomain/subcategory-for-2nddomain

    ...still doesn't work

    But it works whenever you substitute "2ndDomain" or you just remove it. This works;

    http://2ndDomain.com/category/subcategory-for-2nddomain

    ...and this works too;

    http://2ndDomain.com/category/sdfsdfsdfsdf/subcategory-for-2nddomain

    It is like if your plugin put subcategories at the same hierarchical level than categories. If this is the case, I don't dislike it at all, it is a nice feature.

  9. WpJoe
    Member
    Posted 2 years ago #

    Well, I put my minimu installation online and the searcher came back to live! :)

    For my sub-categories issue I used a work around. I don't know if 0.6.4 updated was related to this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags