• Resolved jrg203

    (@jrg203)


    I have a pre-production site that is on the latest version of WordPress. I am currently running the latest version of WP Slimstat. I selected the option to add a column to the All Posts page that shows the hits for each post.

    When I click on the number of hits for a post from that list, I am taken to the WP SlimStat page for that post, but no information comes up because the permalink structure used for the automatically generated filter is the default permalink setting, whereas my site uses the year/month/day permalink structure.

    I’ve looked through the WP SlimStat settings and cannot find anywhere to modify this setting. How can I change this?

    In case it is relevant, I am running multisite, but all sites have the same permalink settings.

    https://ww.wp.xz.cn/plugins/wp-slimstat/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jrg203

    (@jrg203)

    I just noticed that this is working correctly on all of my sites except for one- the first site that I turned on the setting for. I tried toggling the setting, but it doesn’t seem to have helped. Is there a place in the database where I can manually update how the plugin formats the permalinks for this one site?

    Plugin Contributor Jason Crouse

    (@coolmann)

    Like I suspected, you must have changed your permalink structure AFTER you started logging pages. There is a column, content_id, that gives you the post_id for a given resource. You could write a script that given that ID, calculates the correct permalink and updates the table accordingly.

    Thread Starter jrg203

    (@jrg203)

    Thank you very much for your help!

    This is a bit strange, though – I have a Stage site, which was modified to become the pre-Prod site, and the permalinks work fine for this blog on that copy of the multisite.

    I’ll look at the database and work on that script. Thanks again!

    Plugin Contributor Jason Crouse

    (@coolmann)

    Many users have asked us to retain the original permalink in the the database, even if the setting is later changed in WordPress, for historical/reporting reasons. But at the same time, by tracking the post id, we allow users like you to update the data in the table to reflect the new structure.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘wp slimstat not correctly identifying permalink structure’ is closed to new replies.