• Resolved shpildmitry

    (@shpildmitry)


    Hi, installed your plugin. It was working perfect. Exactly what I need.

    One day…do not know what happened, links of last viewed pages started to work not properly. It started to direct of to the page Thank you for registration (which is the page exluded from list) or to /sample-page….

    Please help me to resolve it…

    https://www.ads-software.com/plugins/dd-lastviewed/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Mosterd3d

    (@mosterd3d)

    Hi Dmitry,

    First of all thanks for using my plugin. Strange that you are actually the only one who has this problem. ??

    But no worries, we will figure it out! It could be several reasons (even not my widget ;)):

    – Do you see errors in the console?
    – Did you recently changed your permalinks?
    – Did you configure the widget without title but with rich content?

    Can I see the use of the plugin somewhere, so I can check?

    Thread Starter shpildmitry

    (@shpildmitry)

    Hi, Mosterd3d!

    Thanks a lot for coming back! Your plug in was working great in the begining. I was really surprised when it happened. Two things might have happened differently:

    – I have enabled WP Super Cache. Trying to take away the page from the caching list…but not realy successful now.

    – there is some error but I am pretty sure it is not your plugin: “hiWeb Memory Usage : hiWeb Core not Installed / Activate…”

    – I did not change any permalinks

    – I configured the widget without title, but I am not sure I understand what do you mean by rich content.

    I can provide you access to my website if you advise a safe way to send you the credentials.

    Website: https://hrtest.digitools.ru/

    I use your page to let users come back to the last page after their registration was confirmed by email: https://hrtest.digitools.ru/thank-you-for-registration/

    Thread Starter shpildmitry

    (@shpildmitry)

    Hi, any thoughts on the issue?

    Thread Starter shpildmitry

    (@shpildmitry)

    Dear Mosterd3d,

    Can you please try to help me on this topic. Thanks in advance!

    Plugin Author Mosterd3d

    (@mosterd3d)

    Hi Dmitry,

    As far as I can see:

    The correct ids are set correctly in the cookie. The widget itself is nothing more then a regular post-loop with a custom query.

    $args=array('post__in'=> $idList, 'post_type' => $selected_posttypes, 'orderby'=>'post__in', 'posts_per_page'=> $lastViewed_total);

    As you can see, it works because the title is correct, only the link isn’t. That’s really strange because it’s just a get_permalink(); in the loop. Maybe it has something to do with the ‘Russian’ text in the permalink:

    https://hrtest.digitools.ru/%D0%BD%D0%B8%D0%BA%D0%BE%D0%BB%D1%8C/

    try to save your changes again in settings/permalink, otherwise I guess the Russian text causes the issue, and I can’t help you with that ??

    Cheers,

    Mosterd3d

    Thread Starter shpildmitry

    (@shpildmitry)

    Hi, Thank you for your message!

    I have fixed the links to be all Latin. So now there is no Russian text.

    Unfortunately issue still exists.

    Plugin Author Mosterd3d

    (@mosterd3d)

    Hi there,

    Sorry to hear that the issue still exists. I’m a little bit afraid it has nothing to do with my plugin, because as I described above it’s a pretty basic loop. Did you already tried to exclude other plugins, to check if those causes the problem?

    Hope we can solve your problem.

    Plugin Author Mosterd3d

    (@mosterd3d)

    No news is good news! So I mark this topic as resolved.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Link to the last viewed does not work properly…’ is closed to new replies.