How to format the page title of a product view page?Magento duplicate meta tags in google webmasterSEO: Product Meta Title, Keywords and DescriptionRewriting META logic for product view page - need assistanceplugin creare seo question attribute default title productChanging Magento Product Review Page TitlesMagento: Category Name vs Page Title NameEdit default page title for category programaticallyMagento 2 - Page title prefix and suffix not renderingProduct and Category name not showing as page titleWill changing the category name affect SEO?

Pre-mixing cryogenic fuels and using only one fuel tank

Why does a simple loop result in ASYNC_NETWORK_IO waits?

How to hide some fields of struct in C?

Redundant comparison & "if" before assignment

Can I still be respawned if I die by falling off the map?

What is the evidence for the "tyranny of the majority problem" in a direct democracy context?

Why does the Sun have different day lengths, but not the gas giants?

What are some good ways to treat frozen vegetables such that they behave like fresh vegetables when stir frying them?

Is there an injective, monotonically increasing, strictly concave function from the reals, to the reals?

Does the UK parliament need to pass secondary legislation to accept the Article 50 extension

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

Why is this estimator biased?

What should you do when eye contact makes your subordinate uncomfortable?

Why should universal income be universal?

How to say when an application is taking the half of your screen on a computer

How do apertures which seem too large to physically fit work?

How can mimic phobia be cured?

Why does AES have exactly 10 rounds for a 128-bit key, 12 for 192 bits and 14 for a 256-bit key size?

Why did the EU agree to delay the Brexit deadline?

Temporarily disable WLAN internet access for children, but allow it for adults

How to cover method return statement in Apex Class?

What is Cash Advance APR?

Can disgust be a key component of horror?

System.QueryException unexpected token



How to format the page title of a product view page?


Magento duplicate meta tags in google webmasterSEO: Product Meta Title, Keywords and DescriptionRewriting META logic for product view page - need assistanceplugin creare seo question attribute default title productChanging Magento Product Review Page TitlesMagento: Category Name vs Page Title NameEdit default page title for category programaticallyMagento 2 - Page title prefix and suffix not renderingProduct and Category name not showing as page titleWill changing the category name affect SEO?













0















Currently I'm doing some work on a Magento shop (1.8) and one of the problems the site has is that the SEO and page titles are very poor. So far I've managed to change all of the page titles and meta descriptions for the categories and now I have to sort out the page titles for the product pages.



At the moment, the page title is written like this:




Product NameCategoryCategoryCategory




For a real world example:




Reversible GiletWaistcoats & Gilets For MenClothingMen




Basically there is no space between the product title and the hierarchical category names, which is obviously not desirable.



What I want to do is to just display the product name and the category name that the product is under. So in this example the page title would be:




Reversible Gilet - Waistcoats & Gilets For Men




How can I achieve this?










share|improve this question
















bumped to the homepage by Community 5 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    0















    Currently I'm doing some work on a Magento shop (1.8) and one of the problems the site has is that the SEO and page titles are very poor. So far I've managed to change all of the page titles and meta descriptions for the categories and now I have to sort out the page titles for the product pages.



    At the moment, the page title is written like this:




    Product NameCategoryCategoryCategory




    For a real world example:




    Reversible GiletWaistcoats & Gilets For MenClothingMen




    Basically there is no space between the product title and the hierarchical category names, which is obviously not desirable.



    What I want to do is to just display the product name and the category name that the product is under. So in this example the page title would be:




    Reversible Gilet - Waistcoats & Gilets For Men




    How can I achieve this?










    share|improve this question
















    bumped to the homepage by Community 5 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      0












      0








      0








      Currently I'm doing some work on a Magento shop (1.8) and one of the problems the site has is that the SEO and page titles are very poor. So far I've managed to change all of the page titles and meta descriptions for the categories and now I have to sort out the page titles for the product pages.



      At the moment, the page title is written like this:




      Product NameCategoryCategoryCategory




      For a real world example:




      Reversible GiletWaistcoats & Gilets For MenClothingMen




      Basically there is no space between the product title and the hierarchical category names, which is obviously not desirable.



      What I want to do is to just display the product name and the category name that the product is under. So in this example the page title would be:




      Reversible Gilet - Waistcoats & Gilets For Men




      How can I achieve this?










      share|improve this question
















      Currently I'm doing some work on a Magento shop (1.8) and one of the problems the site has is that the SEO and page titles are very poor. So far I've managed to change all of the page titles and meta descriptions for the categories and now I have to sort out the page titles for the product pages.



      At the moment, the page title is written like this:




      Product NameCategoryCategoryCategory




      For a real world example:




      Reversible GiletWaistcoats & Gilets For MenClothingMen




      Basically there is no space between the product title and the hierarchical category names, which is obviously not desirable.



      What I want to do is to just display the product name and the category name that the product is under. So in this example the page title would be:




      Reversible Gilet - Waistcoats & Gilets For Men




      How can I achieve this?







      product-view seo page-title






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 6 '18 at 8:15









      Murtuza Zabuawala

      12.6k73362




      12.6k73362










      asked May 11 '16 at 7:03









      mickburkejnrmickburkejnr

      786




      786





      bumped to the homepage by Community 5 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 5 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          you have to rewrite this class to change on product detail page



          Mage_Catalog_Block_Product_View


          you can rewrite it with below example



          in config.xml



          <global>
          <blocks>
          <catalog>
          <rewrite> <product_view>YourNameSpace_Catalog_Block_Product_View</product_view>
          </rewrite>
          </catalog>
          </blocks>
          </global>


          override in file



          class YourNameSpace_Catalog_Block_Product_View extends Mage_Catalog_Block_Product_View
          {
          protected function _prepareLayout()
          $product = $this->getProduct();
          $meta_description = $product->getMetaDescription();
          // change your meta title here and assign to product
          return parent::_prepareLayout();



          hope this will sure help to you






          share|improve this answer























          • I'll try this, but what file am I doing the override in?

            – mickburkejnr
            May 11 '16 at 7:23











          • look for detail thing inchoo.net/magento/…

            – liyakat
            May 11 '16 at 7:37











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f114834%2fhow-to-format-the-page-title-of-a-product-view-page%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          you have to rewrite this class to change on product detail page



          Mage_Catalog_Block_Product_View


          you can rewrite it with below example



          in config.xml



          <global>
          <blocks>
          <catalog>
          <rewrite> <product_view>YourNameSpace_Catalog_Block_Product_View</product_view>
          </rewrite>
          </catalog>
          </blocks>
          </global>


          override in file



          class YourNameSpace_Catalog_Block_Product_View extends Mage_Catalog_Block_Product_View
          {
          protected function _prepareLayout()
          $product = $this->getProduct();
          $meta_description = $product->getMetaDescription();
          // change your meta title here and assign to product
          return parent::_prepareLayout();



          hope this will sure help to you






          share|improve this answer























          • I'll try this, but what file am I doing the override in?

            – mickburkejnr
            May 11 '16 at 7:23











          • look for detail thing inchoo.net/magento/…

            – liyakat
            May 11 '16 at 7:37
















          0














          you have to rewrite this class to change on product detail page



          Mage_Catalog_Block_Product_View


          you can rewrite it with below example



          in config.xml



          <global>
          <blocks>
          <catalog>
          <rewrite> <product_view>YourNameSpace_Catalog_Block_Product_View</product_view>
          </rewrite>
          </catalog>
          </blocks>
          </global>


          override in file



          class YourNameSpace_Catalog_Block_Product_View extends Mage_Catalog_Block_Product_View
          {
          protected function _prepareLayout()
          $product = $this->getProduct();
          $meta_description = $product->getMetaDescription();
          // change your meta title here and assign to product
          return parent::_prepareLayout();



          hope this will sure help to you






          share|improve this answer























          • I'll try this, but what file am I doing the override in?

            – mickburkejnr
            May 11 '16 at 7:23











          • look for detail thing inchoo.net/magento/…

            – liyakat
            May 11 '16 at 7:37














          0












          0








          0







          you have to rewrite this class to change on product detail page



          Mage_Catalog_Block_Product_View


          you can rewrite it with below example



          in config.xml



          <global>
          <blocks>
          <catalog>
          <rewrite> <product_view>YourNameSpace_Catalog_Block_Product_View</product_view>
          </rewrite>
          </catalog>
          </blocks>
          </global>


          override in file



          class YourNameSpace_Catalog_Block_Product_View extends Mage_Catalog_Block_Product_View
          {
          protected function _prepareLayout()
          $product = $this->getProduct();
          $meta_description = $product->getMetaDescription();
          // change your meta title here and assign to product
          return parent::_prepareLayout();



          hope this will sure help to you






          share|improve this answer













          you have to rewrite this class to change on product detail page



          Mage_Catalog_Block_Product_View


          you can rewrite it with below example



          in config.xml



          <global>
          <blocks>
          <catalog>
          <rewrite> <product_view>YourNameSpace_Catalog_Block_Product_View</product_view>
          </rewrite>
          </catalog>
          </blocks>
          </global>


          override in file



          class YourNameSpace_Catalog_Block_Product_View extends Mage_Catalog_Block_Product_View
          {
          protected function _prepareLayout()
          $product = $this->getProduct();
          $meta_description = $product->getMetaDescription();
          // change your meta title here and assign to product
          return parent::_prepareLayout();



          hope this will sure help to you







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 11 '16 at 7:15









          liyakatliyakat

          3,61061933




          3,61061933












          • I'll try this, but what file am I doing the override in?

            – mickburkejnr
            May 11 '16 at 7:23











          • look for detail thing inchoo.net/magento/…

            – liyakat
            May 11 '16 at 7:37


















          • I'll try this, but what file am I doing the override in?

            – mickburkejnr
            May 11 '16 at 7:23











          • look for detail thing inchoo.net/magento/…

            – liyakat
            May 11 '16 at 7:37

















          I'll try this, but what file am I doing the override in?

          – mickburkejnr
          May 11 '16 at 7:23





          I'll try this, but what file am I doing the override in?

          – mickburkejnr
          May 11 '16 at 7:23













          look for detail thing inchoo.net/magento/…

          – liyakat
          May 11 '16 at 7:37






          look for detail thing inchoo.net/magento/…

          – liyakat
          May 11 '16 at 7:37


















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f114834%2fhow-to-format-the-page-title-of-a-product-view-page%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Disable / Remove link to Product Items in Cart Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How can I limit products that can be bought / added to cart?Remove item from cartHide “Add to Cart” button if specific products are already in cart“Prettifying” the custom options in cart pageCreate link in cart sidebar to view all added items After limit reachedLink products together in checkout/cartHow to Get product from cart and add it againHide action-edit on cart page if simple productRemoving Cart items - ObserverRemove wishlist items when added to cart

          Helsingin valtaus Sisällysluettelo Taustaa | Yleistä sotatoimista | Osapuolet | Taistelut Helsingin ympäristössä | Punaisten antautumissuunnitelma | Taistelujen kulku Helsingissä | Valtauksen jälkeen | Tappiot | Muistaminen | Kirjallisuutta | Lähteet | Aiheesta muualla | NavigointivalikkoTeoksen verkkoversioTeoksen verkkoversioGoogle BooksSisällissota Helsingissä päättyi tasan 95 vuotta sittenSaksalaisten ylivoima jyräsi punaisen HelsinginSuomalaiset kuvaavat sotien jälkiä kaupungeissa – katso kuvat ja tarinat tutuilta kulmiltaHelsingin valtaus 90 vuotta sittenSaksalaiset valtasivat HelsinginHyökkäys HelsinkiinHelsingin valtaus 12.–13.4. 1918Saksalaiset käyttivät ihmiskilpiä Helsingin valtauksessa 1918Teoksen verkkoversioTeoksen verkkoversioSaksalaiset hyökkäävät Etelä-SuomeenTaistelut LeppävaarassaSotilaat ja taistelutLeppävaara 1918 huhtikuussa. KapinatarinaHelsingin taistelut 1918Saksalaisten voitonparaati HelsingissäHelsingin valtausta juhlittiinSaksalaisten Helsinki vuonna 1918Helsingin taistelussa kaatuneet valkokaartilaisetHelsinkiin haudatut taisteluissa kaatuneet punaiset12.4.1918 Helsingin valtauksessa saksalaiset apujoukot vapauttavat kaupunginVapaussodan muistomerkkejä Helsingissä ja pääkaupunkiseudullaCrescendo / Vuoden 1918 Kansalaissodan uhrien muistomerkkim

          Adjektiivitarina Tarinan tekeminen | Esimerkki: ennen | Esimerkki: jälkeen | Navigointivalikko