I have a single post page on wordpress which can be accessible from two archive page.
I put a back button on this single post page and I would like to change the url of the back button depending of the previous page. Also I would like to change the url to one of the two archive if the single post is open in a new window.

Any idea is welcome.

Thank you


Read more here: Back button url depending of previous page


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: