• Resolved guydelta

    (@guydelta)


    Through an import tool we have some records being deleted/updated/added in draft mode. Then by going into each record we confirm the import is correct and publish it and thereby applying the new uri generated by Permalink Manager.

    The problem is that Permalink Manager has duplicate uri entries, one pointing to the deleted record, and another pointing to the published record (43485 and 43523 below), taken from the debug window.

    [43484] => industrial-property/rental/gauteng/johannesburg/stormill/1288-reduktor-road-unit-2
    [43485] => industrial-property/for-sale/gauteng/johannesburg/stormill/1288-reduktor-road-unit
    [43522] => commercial-property/rental/gauteng/pretoria/centurion/westend-office-park-building-b-2nd-floor
    [43523] => industrial-property/for-sale/gauteng/johannesburg/stormill/1288-reduktor-road-unit

    When hitting this uri we are redirected to the non-existent page (43485) and receive a blank page. By manually modifying the uri to “industrial-property/for-sale/gauteng/johannesburg/stormill/1288-reduktor-road-unit-1” for record 43523 resolves the issue, however there are a few thousand records like this which we cannot change.

    When running “Regenerate/Reset” on these records returns “No slugs were updated!”

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi @guydelta,

    there is a hidden feature that allows to remove the URIs assigned to removed posts or auto-drafts.

    To clear the URI array please append &clear-permalink-manager-uris to Permalink Manager admin section, eg.:

    https://example.com/wp-admin/tools.php?page=permalink-manager&clear-permalink-manager-uris

    Best Regards,
    Maciej

    I had a duplicated URI, too. Not sure what caused it, but thank you for the solution!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicate uri issue’ is closed to new replies.