commit a13ad91eb8eb13bf36573fd52b013228d6a9bf8f Author: kostas Date: Mon Jun 22 16:11:11 2026 +0300 DG-186: fix(seo): restrict noindex fallback to search views only The fallback condition checked isset($view) but not whether the view was in the known search views list. This caused detail pages served by non-search views (e.g. customer_menu) to get noindex when a ?keyword= query param was present (passed from search results navigation). Fix: add in_array($view->name, $views) to the fallback guard so only search listing view pages can trigger the fallback noindex. diff --git a/web/sites/all/modules/custom_dev_patched/custom/odigos_search_title/odigos_search_title.module b/web/sites/all/modules/custom_dev_patched/custom/odigos_search_title/odigos_search_title.module index fe02105c7..256416a72 100644 --- a/web/sites/all/modules/custom_dev_patched/custom/odigos_search_title/odigos_search_title.module +++ b/web/sites/all/modules/custom_dev_patched/custom/odigos_search_title/odigos_search_title.module @@ -135,8 +135,9 @@ function odigos_search_title_html_head_alter(&$head_elements) { $noindex = TRUE; } - // Fallback: on view pages only, noindex unexpected display types or facet path parts - if (!$noindex && isset($view)) { + // Fallback: on search view pages only, noindex unexpected display types or facet path parts + // Must restrict to $views to avoid noindexing detail pages (e.g. customer_menu) with ?keyword= params + if (!$noindex && isset($view) && in_array($view->name, $views)) { $params = drupal_get_query_parameters(); foreach ($params as $param => $value) { if (!in_array($param, array('q', 'page'))) {KOSTIKAS STILIANOS | Vreite.gr
Skip to main content
Vreite.gr
Login
  • ελ
  • en

MENU

  • Business
  • Offers
  • Useful
  • Postal
  • Ellinismos Online

KOSTIKAS STILIANOS

Information
  • Insurance Companies - Insurance Agents
  • General Services
  • Nikiti Chalkidikis
  • Chalkidiki Prefecture
  • Macedonia
Nikiti, 63088
Telephone
2375022164
6974792466
Fax:
2375022165
st-kost [at] otenet.gr
www.kostikas-st.gr

Categories

  • Insurance Companies - Insurance Agents Nikiti Chalkidikis
  • Insurance Companies - Insurance Agents Chalkidiki Prefecture
Routing (Google Maps)

Share

Facebook logo Twitter logo Google+ logo Pinterest

Contact Entry

Join

Send your infos to register in platform.

Register
Vreite

3 Septemvriou str. 101

10434, Athens, Greece

2108253083, 2108848155, 2108840227 (FAX)

info [at] vreite.gr

  • Categories
  • Regions
  • About
  • Terms of use
  • Join
  • Contact
  • Ellinismos Online
  • Login
All rights reserved © 2026MAC INFORMATION GROUP