Title: Modify page title from PHP, or using query string
Last modified: May 17, 2023

---

# Modify page title from PHP, or using query string

 *  Resolved [ThinkByDesign](https://wordpress.org/support/users/thinkbydesign/)
 * (@thinkbydesign)
 * [3 years ago](https://wordpress.org/support/topic/modify-page-title-from-php-or-using-query-string/)
 * I have a client who is using SEOPress on their site. We have a page that sometimes
   gets called with query string arguments. We use PHP through a shortcode to use
   those arguments in the H1 tag, but would like to also use them in the page title
   tag. I’ve been looking through the different variables that can be inserted through
   the plugin’s user interface, but I’m unable to find any that are based on the
   query string, or some other data that is particular to the page request rather
   than the page itself.
 * Any ideas/leads would be appreciated.

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

 *  Plugin Author [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * (@rainbowgeek)
 * [3 years ago](https://wordpress.org/support/topic/modify-page-title-from-php-or-using-query-string/#post-16751371)
 * Hi,
 * I think you’re looking for this:
 * [https://www.seopress.org/support/guides/create-your-custom-dynamic-variable-for-your-meta-title-description-social/](https://www.seopress.org/support/guides/create-your-custom-dynamic-variable-for-your-meta-title-description-social/)
 *  Plugin Author [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * (@rainbowgeek)
 * [3 years ago](https://wordpress.org/support/topic/modify-page-title-from-php-or-using-query-string/#post-16796819)
 * We are closing this ticket due to inactivity. Thank you for understanding.

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

The topic ‘Modify page title from PHP, or using query string’ is closed to new replies.

 * ![](https://ps.w.org/wp-seopress/assets/icon-128x128.gif?rev=3158903)
 * [SEOPress - AI SEO Plugin & On-site SEO](https://wordpress.org/plugins/wp-seopress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-seopress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-seopress/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-seopress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-seopress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-seopress/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [Query String](https://wordpress.org/support/topic-tag/query-string/)
 * [title tag](https://wordpress.org/support/topic-tag/title-tag/)

 * 2 replies
 * 2 participants
 * Last reply from: [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/modify-page-title-from-php-or-using-query-string/#post-16796819)
 * Status: resolved