ekayi
Forum Replies Created
-
Hi Leon,
Updating Scoreline did the trick! I was using the incorrect link in my history for the demo site, that’s why it wasn’t working for me there.
Thanks again! Keep up the awesome work! ??
-Mark
Hi Leon,
Thanks for the update, I just installed v1.2.17 but the issue still seems to be there – i tried removing and reinstalling the plugin but no joy, have you installed the updated plugin on your demo site? Just noticed the links are not working there yet either.
Any ideas? (sorry to be a bother!)
-MarkHi,
I’ve been looking in to this a bit more, and have found the following:
-Any fixture with a date in the future, the link does not work.
-Once a fixtures date becomes in the past, the permalink will appear and start working correctly
-My initial thought that it was just the widget is incorrect, it is actually any link to a future game anywhere on the site.
-The same behavior can be seen on the demo site (https://demos.wpclubmanager.com/?theme=Scoreline) so it is definitely not an issue with my install.
A change must have been introduced in one of the latest WordPress updates that is effecting how WP Club Manager handles future dated posts permalinks.
I have also noticed that a link can be made valid by adding “&wpcm_match” to the end of a broken permalink.
Broken (returns 404): https://demos.wpclubmanager.com/scoreline/?post_type=wpcm_match&p=176
Working: https://demos.wpclubmanager.com/scoreline/?post_type=wpcm_match&p=176&wpcm_matchLooking forward to your reply,
-MarkThanks for the quick reply, I’ve tried re-saving the permalinks, but still no joy.
But I’ve dug a little deeper and I’ve found that old posts (pre 4.2 upgrade still have their pretty permalink in place, it’s just new matches added since the upgrade that are not getting a pretty permalink assigned.
Thanks,
Mark