Forums

[Plugin: StatPress] URLs incorrect in "Spy" section (3 posts)

  1. Stephr0x0rs
    Member
    Posted 1 year ago #

    When viewing the Spy stats, for some reason the plugin is adding ?/ into the url where it shouldn't, resulting in borked links that lead to the blog home instead of the correct page.

    Example:

    Incorrect: http://bebi.r0x0rs.com/?/2008/07/recommended-firefox-addons/
    Correct: http://bebi.r0x0rs.com/2008/07/recommended-firefox-addons/

    Using version 1.2.9.2.

  2. rullator
    Member
    Posted 1 year ago #

    same problem here..

    the "?" is important, if you don't use pretty links in your permalink section.

    but you do use pretty links, so open statpress.php and have a look at line 571 and get rid of the ."/?". so change the line from
    [...] href='".get_bloginfo('url')."/?".$rk->urlrequested." [...]

    to

    [...] href='".get_bloginfo('url').$rk->urlrequested." [...]

    do it the same way in line 580, 715.

    notice, i'm using version: 1.2.9.2 of the plugin.

    best, mike

  3. rullator
    Member
    Posted 1 year ago #

    okay, just discovered that the plugin statpress is not under development anymore..
    instead someone else is keeping it alive and called it statpress-reloaded:

    http://wordpress.org/extend/plugins/statpress-reloaded/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags