• Resolved amapley

    (@amapley)


    Within a multisite installation using directories (with define( 'CN_MULTISITE_ENABLED', FALSE ); in wp-config.php), only the first site that the plugin is activated on works correctly. When the plugin is activated on an additional site, the additional site’s Connections home page displays all entries. When any link in an entry is followed (Name, Organization, Department), the home page URL without the trailing custom permalink structure is returned, again displaying all listings.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    @amapley

    It has been awhile, but, I think, with CN_MULTISITE_ENABLED defined as false, you need to network activate Connections vs activating on separate subsites is “normal” mode.

    Hope this helps, let me know.

    Thread Starter amapley

    (@amapley)

    Thank you for the quick response. Unfortunately, with CN_MULTISITE_ENABLED defined as false, it seems there is no difference between network activating the plugin vs activating the plugin on separate subsites. With CN_MULTISITE_ENABLED defined as false, sites share the same “connections” table (entries) but have independent settings in their “options” table (e.g. connections_home_page). It would seem that for any links in an entry displayed on a subsite to work, they would need to reference the home page_id on the main site.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    @amapley

    Unless I am confused (totally possible) the permalinks for entries on sub sites should still resolve the sub site, not the parent site. So, you should dedicate a page on each subsite to be the directory home page and add the shortcode to that page.

    Does that help?

    Thread Starter amapley

    (@amapley)

    Thank you but this does not work. The permalinks *should* still resolve on the sub site but any link to a sub site directory home page will only display all entries (in the case of using only the [connections] shortcode). The only hack I can think of to make the links function as expected would be to have them resolve to the main directory home page (so you could see single entries, entries filtered by Organization, etc.).

    Thread Starter amapley

    (@amapley)

    I added a Feature Request at https://connections-pro.com/support/topic/shared-directory-across-sites-with-functioning-links-on-subsites/#post-472416 that may be clearer.

    Perhaps, this is unique to my environment.

    Great plugin, otherwise!

    Plugin Author Steven

    (@shazahm1hotmailcom)

    @amapley

    Ok, I am still not clear what the issue is…

    The entry permalinks resolve to the subsite page, correct?

    Using just the [connections] shortcode on that subsite page will display all entries. That is expected.

    What exactly are you trying to accomplish?

    Thread Starter amapley

    (@amapley)

    On a sub site:

    When clicking on an entry’s name, it should display the single entry; when clicking on Organization, it should display entries filtered by that organization; etc.

    Also, when clicking on Connections > Manage, then the “View” link should display that entry.

    In all cases, only the directory home page is returned displaying all entries.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    @amapley

    Ahhh, ok, now I think I am understanding the issue.

    The links resolve correctly to the subsite, but the list is not filtered correctly. Is that correct?

    If it is, then that has to be an issue with your setup. Something is stripping or not passing the query values.

    I can not remember off the top of my head, do the subsites have access to the WP Permalinks settings page? If they do, visit it and click the save button. No changes needed. This will flush the WP rewrite rules. Make sure Connections is activated on the subsite (not network activated).

    Thread Starter amapley

    (@amapley)

    Thank you. It appears that the plugin, Permalink Manager Lite, was responsible for the conflict.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    @amapley

    Thanks for following up and letting me know the cause of the issue! I appreciate it!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Multisite install – permalink structure only works on one site’ is closed to new replies.