Hi,
I might have found a bug in your plugin.
My customer has permalinks set to: “/%postname%”
So the urls are:
He is using the shortcode [wpdm_category] with the “item_per_page” atrribute.
The problem is that urls in the pagination are like this:
Because of the permalink structure without a “/” at the end all urls get redirected.
I fixed it by making a change in this file:
/wp-content/plugins/download-manager/src/wpdm-functions.php (function: wpdm_paginate_links)
$phtml = str_replace( "/?cp=", "?cp=", $phtml );
Obviously just a quick fix. ๐
I guess your plugin expects that every WordPress website uses / at the end โ but this is not the case.
Is there a setting to remove the trailing shlash in the pagination?
Thanks, Jan
Hello Jan,
Thanks for contacting us.
Could you please share related urls of the issue to check it further? You can share any example pages. It will help us to understand the issue properly.
Regards Tanvir
Hi Tanvir,
there is no url to share, I already fixed the bug by myself.
Which part of my explanation is unclear?
Have a great day. ๐ Jan
Hello,
Glad to hear that you have fixed it. However, our developers will check the issue. Maybe they could release an update related to that.
The topic ‘Trailing Slash In Pagination Using wpdm_category Shortcode’ is closed to new replies.