• AaronWinters916

    (@aaronwinters916)


    Someone else started the site I’m finishing now and used a lot of ACF throughout. The scenario in question is in trying to use the CF:dest-foo-name that’s used on the foo post on the archive as a header and a link. There are 3 category archive pages in the site and none of them link as soon as I turn on permalink.

    If I leave global permalinks on post-name, ACF doesn’t allow to link between them. If I want my links to work, I have to use those awful default addresses.

    In reading over this topic, I have seen this could be caused by
    • duplicate slugs
    • htaccess needing to be re-written
    • flush rewrite rules after registering post type (although this is for post types, not fields)
    • Resave Permalink structure (exactly what’s causing the problem) to flush the htaccess

    Before I go tearing through my PHP, I was hoping someone has a “more recent than four years ago” solution?

Viewing 1 replies (of 1 total)
  • Thread Starter AaronWinters916

    (@aaronwinters916)

    “There are 3 category archive pages in the site and none of them link as soon as I turn on permalink.”

    More accurately:

    “There are 3 category archive pages in the site and none of them link to their respective posts as soon as I turn on permalinks.”

Viewing 1 replies (of 1 total)
  • The topic ‘Advanced Custom Fields ACF and Permalinks not getting along’ is closed to new replies.