Title: Add parameter to URL
Last modified: November 18, 2022

---

# Add parameter to URL

 *  Resolved [jessicadixie](https://wordpress.org/support/users/jessicadixie/)
 * (@jessicadixie)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/add-parameter-to-url/)
 * Hi there,
 * First, thanks for the great plugins, they’ve improved my site a lot!
 * I was wondering how to append a custom param to the end of the URL. Unfortunately,
   Relevanssi’s highlighting feature doesn’t work for me, so I’ve used a different
   plugin that appends ?hilite={query} to the end of the URLs.
 * I’ve edited search-results-query.php to be the following:
 * `<p><a href="<?php the_permalink();?>?hilite=<?php $relevanssi_query ?>">`
 * But no changes were reflected on the front end, so I’m not sure what I’m doing
   wrong. Plus, this change would have to be made every time I update, so I’m not
   sure if there is a better way to do this.
 * Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/add-parameter-to-url/#post-16213897)
 * The templates are there to be modified but to keep them safe from updates, copy
   the template under your theme directory in the directory `relevanssi-live-ajax-
   search`. Live Ajax Search will look from there.
 * The default template Live Ajax Search uses is not `search-results-query.php` 
   but `search-results.php`. That’s the likely explanation here.
 *  Thread Starter [jessicadixie](https://wordpress.org/support/users/jessicadixie/)
 * (@jessicadixie)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/add-parameter-to-url/#post-16221053)
 * Thank you very much for your help, Mikko!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Add parameter to URL’ is closed to new replies.

 * ![](https://ps.w.org/relevanssi-live-ajax-search/assets/icon-256x256.png?rev=
   3529563)
 * [Relevanssi Live Ajax Search](https://wordpress.org/plugins/relevanssi-live-ajax-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi-live-ajax-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi-live-ajax-search/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jessicadixie](https://wordpress.org/support/users/jessicadixie/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/add-parameter-to-url/#post-16221053)
 * Status: resolved