• Resolved hsbmadison

    (@hsbmadison)


    I am attempting to setup an internal staff directory and for the most part, things are going very well. One thing I cannot get to work is the permalinks.
    The default template is the Default entry card 3.0.
    The shortcode on the page is just [connections]
    The page displays all the names correctly.
    In the advanced settings, when I enable the name to be a link, the name does become a link but when clicking on the link, I get a 404.
    The permalink slug for name base setting is just the default
    Using version 9.4.6
    How do I make the Name link work?

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

    (@shazahm1hotmailcom)

    Please try deactivating/activating Connections OR navigating the the WordPress Permalinks settings admin page. Either action will cause WordPress to update its permalink rewrite rules.

    Hope this helps! Please let me know.

    ps. If the page is not Published and you are viewing only the preview, please publish the page.

    Thread Starter hsbmadison

    (@hsbmadison)

    I tried deactivating/activating Connections as suggested. closed and reopened the browser in the middle of that. didn’t help. also tried turning the function off and on again, didn’t help. Even restarted the server, didn’t help.
    The page was/is published. WordPress 5.2.4 with woffice 2.8.7

    Not that you can get there, but the directory is published to:
    http://homepoint/index.php/associate-directory-by-name/
    After clicking on an individuals name (mine for example), the link becomes:
    http://homepoint/index.php/associate-directory-by-name/name/steve-belling/
    Which is exactly what I would expect. Same result for Chrome or IE or Firefox

    Plugin Author Steven

    (@shazahm1hotmailcom)

    I see the issue now, please navigate to the WordPress Permalinks admin page and remove the index.php from the permalink structure. That should resolve the issue.

    Thread Starter hsbmadison

    (@hsbmadison)

    Thank you thank you thank you
    I would have never found that. Problem solved!

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Great to hear that did the trick!

    Hi Steven,

    I’m having a similar issue unfortunately.

    On this page, when you click on “Read More” for Roxanne Carrillo Garza and Iris J Podshun, it takes you to a 404 page. For these two entries, it seems the url at the end (where the name is) does not take from the “data-entry-slug” (I checked in the browser inspector).

    Here are the two href values for the Read More buttons:
    https://www.rcfconnects.org/about-us/our-staff/name/roxanne-carrillo-garza/ (the data-entry-slug is roxanne-garza)
    https://www.rcfconnects.org/about-us/our-staff/name/iris-j-podshun/ (the data-entry-slug is iris-podshun)

    In both cases, when I remove the middle initials, the link worked.

    I ran several tests by creating new entries. Each time, the Read More button failed to work if I included a middle name.

    Is this a bug? How do I fix this?

    Some Notes:
    – The Read More buttons appear only where there is a <!–more–> in the backend in the Biographical Info section for the Connections Plugin.
    – I have “Post name” selected in the Permalinks Common Settings.
    – I thought perhaps saving the permalinks page would fix the issue, but it hasn’t.
    – In Connections > Settings > Advanced > Name, I have that checked off to turn the name of every entry into a link. That link works for all entries.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    The error is not Connections… if you click on the names of each, they have the correct permalink, this tells me Connections is creating the links correctly.

    The solution…

    Please edit both of the affected entries, scroll to the Bio field and edit the link for the read more button to have the correct URL in the href.

    Hope this helps!

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

The topic ‘Permalink 404 Error’ is closed to new replies.