Answers.Body: <p>You can get the previous page (within the same site) with <code>{{ craft.app.request.referrer }}</code>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-01T13:06:41.717Z
Answers.Text: I need to access the page URL before that though.
Answers.UserDisplayName: Andrew
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-01T12:21:07.043Z
Answers.LastActivityDate: 2021-07-01T12:21:07.043Z
Answers.UserDisplayName: Oli
Body: <p>Is there a way to get the previous page URL to the current referring page?</p>
  <p>(I mean the referring page to the referring page.)</p>
  <p>Or is this only accessible via the browser history?</p>
  
Tags: <redirect>
Title: Is there a way to get the previous page URL to the current referring page?
ThreadText: # Is there a way to get the previous page URL to the current referring page?
  
  (Asked by: username_0 on 2021-07-01)
  
  Is there a way to get the previous page URL to the current referring page?
  
  (I mean the referring page to the referring page.)
  
  Or is this only accessible via the browser history?
  
  **Tags:** redirect
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-07-01. Score: 3
  
  You can get the previous page (within the same site) with `{{ craft.app.request.referrer }}`.
  
  > **Comments:**
  > **username_0**: I need to access the page URL before that though.  
  
  ---
  
  