Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • One thing you might do is look at your .htaccess rules. I don’t know the cause of the infinite redirect, but you can access wp-admin/ if you go instead to wp-admin/index.php. I changed the standard rewrite rule for adding a slash to wp-admin so it adds a slash and an index.php and that seems to work okay.

    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/index.php [R=301,L]

    As far as your other problem, I had another .htaccess workaround that worked in my limited testing. Essentially, your static resources are getting forwarded to index.php instead of getting served. Essentially wordpress thinks they are pages or posts in the site. What I did (and this may not work for your setup because you’re doing it a little differently than I am) is add a slash to the regex for the wp-content,admin, and includes url rewrite rule.

    RewriteRule ^[_0-9a-zA-Z-\/]+/(wp-(content|admin|includes).*) $1 [L]

    This, in my instance at least, allowed wordpress to look past the second slash in the static resources URL so http://wwww.domain.com/network/site/wp-content/themes/mytheme/style.css gets served as a static asset.

    There’s still a lot of problems that I’m running into and it sure would be nice if the plugin authors checked the support forums.

    Thread Starter jswan2

    (@jswan2)

    Hi Peter, thanks for the heads up on this potential solution. I tried that and a specific way of going about it did work. I detailed my experience in that thread. Since the fix worked for me, I’m going to go ahead and resolve this.

    jswan2

    (@jswan2)

    My similar problem (mapping tags to pages) was unfortunately not solved by just switching out get_taxomomies() for get_object_taxonomies(). I found get_taxonomies() at lines 1823 and 1907 in the newest version of this plugin. Changing get_taxonomies to get_object_taxonomies on line 1823 made built-in taxonomies for posts fail to show up, and tags for pages still didn’t show up. However, doing the full edit as detailed in the 3rd post works. The plugin sends get_taxonomies arrays in the current version and that doesn’t work with the get_object_taxonomies method:

    works with vanilla posts only, not pages:
    $taxonomies = get_taxonomies( array( ‘object_type’ => array( $post_type ) ), ‘objects’ );

    doesn’t work with either posts or pages:
    $taxonomies = get_object_taxonomies( array( ‘object_type’ => array( $post_type ) ), ‘objects’ );

    works with both posts and pages:
    $taxonomies = get_object_taxonomies( $post_type, ‘objects’ );

    Hope that helps.

Viewing 3 replies - 1 through 3 (of 3 total)