EE 1
EE 2
Page History


David Hyland

3rd Party (Free)

15 downloads (last 90 days)

Creative Commons Attribution Download v1.04


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



Returns the last pages visited by the user, from the current page to up to 5 pages ago. Useful for a proper "back to page" link rather than using javascript.

To get the current URL:
{exp:page_history:get page=‘0’}

To get the previous page:
{exp:page_history:get page=‘1’}
OR more simply:

To get “two pages ago”:
{exp:page_history:get page=‘2’}

And so on, up to a limit of 5 “pages ago”

The default returned URL structure is page relative, ie “folder/template/”.
To return the full site URL (ie: add the parameter site_url=‘yes’, eg:
{exp:page_history:get page=‘1’ site_url=‘yes’}

Marvellous :)

v1.0.2 - fixed bug where if no param was passed (for last page) and no history exists (ie first page view) then an undefined index error was thrown
v1.0.3 - fixed bug where page parameter was not being respected :(
v1.0.4 - added site_url parameter

Download Page History

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.04 May 17, 2011

This entry was created April 6, 2011, 11:32 am.
This entry was last updated May 17, 2011, 9:18 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

1 Review:

plasticmonument 01.01.14

Rating - {addon_rating_average}

Works perfectly… Right out of the box.