Title: Browser back button doesn&#039;t work
Last modified: August 20, 2016

---

# Browser back button doesn't work

 *  Resolved [pulkit24](https://wordpress.org/support/users/pulkit24/)
 * (@pulkit24)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/browser-back-button-doesnt-work/)
 * I think it used to, but now although hitting ‘Back’ reverts the URL in the address
   bar correctly, the page doesn’t reload/revert to the previous one.
 * Is there a known reason? Could you help please?
 * [http://wordpress.org/extend/plugins/advanced-ajax-page-loader/](http://wordpress.org/extend/plugins/advanced-ajax-page-loader/)

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

 *  Thread Starter [pulkit24](https://wordpress.org/support/users/pulkit24/)
 * (@pulkit24)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/browser-back-button-doesnt-work/#post-3221868)
 * Here’s the page:
    [http://ipa.atcomm.com.au/articles](http://ipa.atcomm.com.au/articles)
   Click ‘Filter’, click on any of the filter tags that drop down, and watch the
   Ajax Loader load the content. Note the change in the URL (I’ve modified the plugin
   code to allow that URL to be loaded via Ajax)
 * Now hit Back. You’ll note the URL changes back fine, but the page doesn’t change
   at all.
 * Any clue?
 *  Thread Starter [pulkit24](https://wordpress.org/support/users/pulkit24/)
 * (@pulkit24)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/browser-back-button-doesnt-work/#post-3221897)
 * Sorry, my fault.
 * I changed the check_ignore function to return false unless a very specific type
   of URL is called (i.e. I didn’t want ajax to work for every single link).
 * Clearly, when one presses back the page is never reloaded (in the windows.onpopstate),
   since the previous url isn’t obviously that exact type of URL I was checking.
   It returned false always!
 * Learning: don’t make changes to the check_ignore function. If you want to extend
   it, make a new function of your own and call it where you need to, to avoid botching
   up the rest of the code flow.
 *  [TobiasR](https://wordpress.org/support/users/tobiasr/)
 * (@tobiasr)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/browser-back-button-doesnt-work/#post-3221903)
 * Hi Pulkit24,
 * I’m trying to do the same thing that you did but I don’t have as much programming
   experience. Can you provide an example of the new function code and instructions?
 * Thanks!
 *  Plugin Author [Dean Williams](https://wordpress.org/support/users/deano1987/)
 * (@deano1987)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/browser-back-button-doesnt-work/#post-3221909)
 * I’m a little confused, is there anything I can change to try and fix this issue?
   People should be utilizing the ignore pattern feature. Please give me an example
   of the problem so I can diagnose.

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

The topic ‘Browser back button doesn't work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-ajax-page-loader_bcd4a4.
   svg)
 * [Advanced AJAX Page Loader](https://wordpress.org/plugins/advanced-ajax-page-loader/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-ajax-page-loader/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-ajax-page-loader/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-ajax-page-loader/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-ajax-page-loader/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-ajax-page-loader/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Dean Williams](https://wordpress.org/support/users/deano1987/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/browser-back-button-doesnt-work/#post-3221909)
 * Status: resolved