Title: Back Button doesn&#8217;t work
Last modified: February 21, 2017

---

# Back Button doesn’t work

 *  Resolved [tawil1705](https://wordpress.org/support/users/tawil1705/)
 * (@tawil1705)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/back-button-doesnt-work/)
 * Hello,
 * I’m trying and trying but can’t create a “Back Button”, means a button, that 
   goes one page page.
 * I put in the HTML-Code of the page the following like you mentioned in the Forum:
 * [maxbutton id=4 url=”javascript: history.back();”]
 * What is wrong?
 * I also tried: javascript: window.history.back() and a lot of variations. But 
   ist doesn’t work.
 * Can you help me? That would be great!
 * Thanks al lot in advance!
    Kind regards Tanja

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

 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/back-button-doesnt-work/#post-8834861)
 * If I add
 *     ```
       javascript: history.back();
       ```
   
 * In the URL field of the button settings page it works. If I add in the short 
   code, like you did above, it does not work. Try adding on the settings page of
   the button.
 *  Thread Starter [tawil1705](https://wordpress.org/support/users/tawil1705/)
 * (@tawil1705)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/back-button-doesnt-work/#post-8835823)
 * Hi Alan,
 * I did that before (in the URL field of the button settings), but there it also
   doesn’t work. The button simply does nothing.
 * What else can I do?
 * Thanks
    Tanja
 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/back-button-doesnt-work/#post-8835842)
 * If it is in the URL on the settings page, then can you send me a link to the 
   page containing the back button and I’ll take a look. My email is [alan@maxfoundry.com](https://wordpress.org/support/topic/back-button-doesnt-work/alan@maxfoundry.com?output_format=md).
 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/back-button-doesnt-work/#post-8836116)
 * The javascript, javascript: history.back(); works with your browser. So if you
   cannot go back to your main page from the catalog then it may not be a button
   problem.
 * You can open the browser console and enter the line
    javascript: history.back();
   into the command line field and hit enter to see if the code works.

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

The topic ‘Back Button doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/maxbuttons/assets/icon-128x128.png?rev=1378636)
 * [MaxButtons - Create buttons](https://wordpress.org/plugins/maxbuttons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maxbuttons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maxbuttons/)
 * [Active Topics](https://wordpress.org/support/plugin/maxbuttons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maxbuttons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maxbuttons/reviews/)

## Tags

 * [back button](https://wordpress.org/support/topic-tag/back-button/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 4 replies
 * 2 participants
 * Last reply from: [AlanP57](https://wordpress.org/support/users/alanp57/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/back-button-doesnt-work/#post-8836116)
 * Status: resolved