Hello,
Can we edit meta data in https://www.bloomsonly.com/catalogsearch/advanced ?
Thanks,
Irina
Solved! Go to Solution.
Hello @irina_mukherjee
You can ask your developer to check Catalogsearch.xml in that file you will find below code:
<catalogsearch_advanced_index translate="label"> <label>Advanced Search Form</label> <!-- Mage_Catalogsearch --> <reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</template></action> </reference> <reference name="head"> <action method="setTitle" translate="title" module="catalogsearch"><title>Advanced Search</title></action> <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action> <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action> <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action> </reference> <reference name="content"> <block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/> <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/> </reference> </catalogsearch_advanced_index> <!-- Advanced search results --> <catalogsearch_advanced_result translate="label"> <label>Advanced Search Result</label> <update handle="page_two_columns_right" /> <!-- Mage_Catalogsearch --> <reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</template></action> </reference> <reference name="content"> <block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml"> <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml"> <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml"> <block type="page/html_pager" name="product_list_toolbar_pager"/> </block> <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action> <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action> <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action> <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action> <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action> <action method="setToolbarBlockName"><name>product_list_toolbar</name></action> </block> <action method="setListOrders"/> <action method="setListModes"/> <action method="setListCollection"/> </block> </reference> </catalogsearch_advanced_result>
Here you can add meta tags in
<reference name="head">
Hello @irina_mukherjee
You can add meta tags in default settings using below link:
https://moz.com/blog/setting-up-magento-for-the-search-engines
And you can update metadata in XML metadata catalogsearch_advanced_result and catalogsearch_advanced as follows:
<head> <meta name="" content=""/> </head>
Hello @irina_mukherjee,
Please find out theme's local.xml file and add below code in layout node and update meta title, description and meta keyword on it.
<catalogsearch_advanced_index translate="label"> <reference name="head"> <action method = "setTitle"><title>Search Result Page</title></action> <action method = "setKeywords"><title>module, keywords</title></action> <action method = "setDescription"><title>Search Description</title></action> </reference> </catalogsearch_advanced_index>
After clear cache and you will find updated meta data on advanced search result page.
Let me know if you have any issue.
--
If my answer is useful, please Accept as Solution & give Kudos
Thank you for the quick response. I have seen that the developer has not created any separate page for "advancesearch" page. If we are trying to make any changes then it is affecting in the homepage. Or we are changing in the homepage then the metadata change is refelting in the "advancesearch" page.
Hello @irina_mukherjee
You can ask your developer to check Catalogsearch.xml in that file you will find below code:
<catalogsearch_advanced_index translate="label"> <label>Advanced Search Form</label> <!-- Mage_Catalogsearch --> <reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</template></action> </reference> <reference name="head"> <action method="setTitle" translate="title" module="catalogsearch"><title>Advanced Search</title></action> <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action> <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action> <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action> </reference> <reference name="content"> <block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/> <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/> </reference> </catalogsearch_advanced_index> <!-- Advanced search results --> <catalogsearch_advanced_result translate="label"> <label>Advanced Search Result</label> <update handle="page_two_columns_right" /> <!-- Mage_Catalogsearch --> <reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</template></action> </reference> <reference name="content"> <block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml"> <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml"> <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml"> <block type="page/html_pager" name="product_list_toolbar_pager"/> </block> <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action> <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action> <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action> <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action> <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action> <action method="setToolbarBlockName"><name>product_list_toolbar</name></action> </block> <action method="setListOrders"/> <action method="setListModes"/> <action method="setListCollection"/> </block> </reference> </catalogsearch_advanced_result>
Here you can add meta tags in
<reference name="head">
Great solution.
Great! please accept it as solution if works for you. Cheers