{"id":2513,"date":"2026-10-20T08:34:11","date_gmt":"2026-10-20T07:34:11","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/change-search-results-page-title\/"},"modified":"2026-10-20T08:39:58","modified_gmt":"2026-10-20T07:39:58","slug":"change-search-results-page-title","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/change-search-results-page-title\/","title":{"rendered":"How to change the title on the GeoDirectory search results page"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The heading on the GeoDirectory search results page comes from the Titles &#038; Meta settings. By default it is <code>Search results for: %%search_term%% %%search_near%%<\/code>.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to GeoDirectory &gt; Settings &gt; General &gt; Titles &#038; Meta.<\/li>\n\n\n\n<li>Scroll to the Search page section.<\/li>\n\n\n\n<li>Change Title. This is the heading shown on the page.<\/li>\n\n\n\n<li>Change Meta Title and Meta Description if you also want different text in the browser tab and in search engine results.<\/li>\n\n\n\n<li>Save the settings.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Variables for the search page<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>%%search_term%%<\/code>: the keyword the visitor typed.<\/li>\n\n\n\n<li><code>%%for_search_term%%<\/code>: &#8220;for&#8221; plus the keyword, or nothing if there was no keyword.<\/li>\n\n\n\n<li><code>%%search_near%%<\/code>: &#8220;near&#8221; plus the location the visitor searched.<\/li>\n\n\n\n<li><code>%%search_near_term%%<\/code>: the location on its own.<\/li>\n\n\n\n<li><code>%%pt_plural%%<\/code> and <code>%%pt_single%%<\/code>: the post type name, such as Places or Place.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">With Location Manager, location variables such as <code>%%in_location_single%%<\/code> are replaced by the search near values on the search page, so <code>%%search_near%%<\/code> is the one to use there.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">If you use an SEO plugin<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When Yoast SEO, Rank Math, SEOPress or All in One SEO is active, that plugin controls the meta title and description. GeoDirectory still sets the Title heading on the page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Changing the word &#8220;Places&#8221;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">&#8220;Places&#8221; is the plural name of the post type. Rename it under Places &gt; Settings &gt; General. To stop visitors switching post type in a search bar, tick Hide Post Type Selector in the GD &gt; Search block settings. The option appears when you have more than one post type.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">More on these settings: <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/explore-settings\/settings-overview-for-general-titles-meta\/\">Settings overview for General &gt; Titles &#038; Meta<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The heading on the GeoDirectory search results page comes from the Titles &#038; Meta settings. By default it is Search results for: %%search_term%% %%search_near%%. Variables for the search page With Location Manager, location variables such as %%in_location_single%% are replaced by the search near values on the search page, so %%search_near%% is the one to use [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,432],"class_list":["post-2513","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-tips-tricks-more","gd_placecategory-how-tos"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=2513"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2513\/revisions"}],"predecessor-version":[{"id":2621,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2513\/revisions\/2621"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2513"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2513"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}