Ready to get started?Download WordPress


Getting Previous URL (3 posts)

  1. fatalx
    Posted 5 years ago #


    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.


  2. 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
    Posted 5 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