• Resolved biffsmith

    (@biffsmith)


    I have just installed Slimstat and everything appears to be working properly EXCEPT my non-wordpress page. I’m not sure what I’m doing wrong. I have copied & pasted the code into the non-wwordpress page just before the closing body tag, as directed.

    Any help would be greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @biffsmith,

    First issue which I see is mixed content. You should use https for all URLs. Please change:
    http://cdn.jsdelivr.net/wp/wp-slimstat/trunk/wp-slimstat.min.js
    to
    https://cdn.jsdelivr.net/wp/wp-slimstat/trunk/wp-slimstat.min.js

    Also, it’s possible trouble with CORS. You can try to use relative URL for ajax:
    ajaxurl: "/wp-admin/admin-ajax.php"

    If you are mixing www and non-www URLs, then it’s possible trouble with OPTIONS requests. You can find more info in older posts.

    Regards,
    Sasa

    Plugin Author Jason Crouse

    (@coolmann)

    Thank you, Sasa!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not working on non-WP page’ is closed to new replies.