Answers.Body: <p>You should be able to use the setBasePath() function of the paginate component to change the base URL</p>
  <p>I.e</p>
  <pre><code>{% paginate query as pageInfo, pageEntries %}
  {% do pageInfo.setBasePath('new_url') %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-12-19T22:51:01.353Z
Answers.LastActivityDate: 2021-12-20T19:32:26.150Z
Answers.LastEditDate: 2021-12-20T19:32:26.150Z
Answers.UserDisplayName: stevecomrie
Body: <p>I have a blog with a different header on the home page, than the other pages. I would like to show the latest blog posts on the homepage and paginate after 10 posts to the next paginated page, using the standard header design (which is different than on the homepage).</p>
  <p>Is there a way I can accomplish this in Craft using the paginate function, or das paginated content always has the use the same template design?</p>
  <p>Thanks for your help. markus</p>
  
Tags: <pagination>
Title: Pagination to a different template
ThreadText: # Pagination to a different template
  
  (Asked by: username_0 on 2021-12-19)
  
  I have a blog with a different header on the home page, than the other pages. I would like to show the latest blog posts on the homepage and paginate after 10 posts to the next paginated page, using the standard header design (which is different than on the homepage).
  
  Is there a way I can accomplish this in Craft using the paginate function, or das paginated content always has the use the same template design?
  
  Thanks for your help. username_0
  
  **Tags:** pagination
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-12-19. Score: 1
  
  You should be able to use the setBasePath() function of the paginate component to change the base URL
  
  I.e
  
  ```
  {% paginate query as pageInfo, pageEntries %}
  {% do pageInfo.setBasePath('new_url') %}
  
  ```
  
  
  ---
  
  