New Ad URL redirects to wrong, older ad
Hey guys,
Have a site running
WP 4.6.1 and a child theme of ClassiPress 3.5.5.
Having an occasional issue where when a user posts an ad with a common title (and therefore URL) trying to view the ad, even from the admin area, redirects to a different ad with a completely different URL.
For example a new post called 'Ad' gets the url of '/ads/ad'. The default
WP behaviour of numbering the new post URL is still working as expected, so it gets auto-regenerated to '/ads/ad-7'. However trying to view the ad at this URL gets you redirected to '/ads/ad-with-a-longer-and-unique-url'.
I can't seem to recreate this reliably, as '/ads/ad-6' can be accessed fine both before the new ad was created and after. But the URL '/ads/ad-7' will
always redirect (tested on staging version of the site)
Does ClassiPress create any sort of redirects for old URLs, if the ad being redirected to had previously been located at '/ads/ad-7'?
Or has anyone else experienced something like this before?
Thanks