WordPress.org

Ready to get started?Download WordPress

Forums

Getting Previous URL (3 posts)

  1. fatalx
    Member
    Posted 5 years ago #

    Hello,

    Is there a way to get the url of the previous page?

    I am making a deadlinks page and would like it to include the previous url from where the user clicked it.

    Thanks

  2. Edward Caissie
    Theme Review Admin
    Posted 5 years ago #

    This can usually be done fairly easily with a bit of javascript.

    I googled "Javascript Back Button" and came up with several links. You might try this one: http://www.crowderassoc.com/javascript/backbutton.html of try your own search and see other results.

    Hope that helps ...

  3. fatalx
    Member
    Posted 4 years ago #

    is it possible for it to just display the url of the previous page and not have a button?

Topic Closed

This topic has been closed to new replies.

About this Topic