Title: Modifying the %link parameter in
Last modified: August 20, 2016

---

# Modifying the %link parameter in

 *  [nickaster](https://wordpress.org/support/users/nickaster/)
 * (@nickaster)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/modifying-the-link-parameter-in/)
 * I want to make my “next post” and “previous post” links more obviously trackable
   in Google by appending something to them all, like “?NEXT”. The idea is to see
   how many people use ’em.
 * The code I have is here:
 * `<?php previous_post_link('<h5>&laquo; Previous post:</h5> %link', '<h4>%title
   </h4>'); ?>`
 * According to the codex page here:
    [http://codex.wordpress.org/Function_Reference/previous_post_link](http://codex.wordpress.org/Function_Reference/previous_post_link)
   I can do all kinds of things around the link, but I can’t see any way to actually
   change the link, or append the ?NEXT characters to the URLs.
 * Any ideas?

The topic ‘Modifying the %link parameter in’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [nickaster](https://wordpress.org/support/users/nickaster/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/modifying-the-link-parameter-in/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
