Magento 2 returns 404 after switching language on product pages





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















magento 2 one store click on product page giving
www.abc.com/product1.html after switch on next language



it showing like this



catalog/product/view/id/15/s/tablets



if have any idea please tell me










share|improve this question














bumped to the homepage by Community 13 hours ago


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






















    0















    magento 2 one store click on product page giving
    www.abc.com/product1.html after switch on next language



    it showing like this



    catalog/product/view/id/15/s/tablets



    if have any idea please tell me










    share|improve this question














    bumped to the homepage by Community 13 hours 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








      magento 2 one store click on product page giving
      www.abc.com/product1.html after switch on next language



      it showing like this



      catalog/product/view/id/15/s/tablets



      if have any idea please tell me










      share|improve this question














      magento 2 one store click on product page giving
      www.abc.com/product1.html after switch on next language



      it showing like this



      catalog/product/view/id/15/s/tablets



      if have any idea please tell me







      products magento2.1.5






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 19 '17 at 6:38









      PawankumarPawankumar

      373318




      373318





      bumped to the homepage by Community 13 hours 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 13 hours 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














          This Issue occur, if the product was created before adding the new website/store/storeview (in other words website/store/storeview created after product is added).
          because Url rewrite for the product for that new storeview is not created so the url will be something like this catalog/product/view/id/15/s/tablets



          One way to resolve this is, open the product in edit mode on backend and just save it. This will create rewrite Url for all available storeview.






          share|improve this answer
























          • it did this but not solved. text.com/… this url is for my english store. while switch in to another language store giving 404 error. but in another store url look like text.com/product/view/id/890/s/…

            – Pawankumar
            Jul 19 '17 at 7:44













          • have you created product before creating store ? Have you created a new Store view or Website ?

            – Arun Karnawat
            Jul 19 '17 at 10:00













          • try reindexing and cache clean

            – Arun Karnawat
            Jul 19 '17 at 10:04











          • i created store views after that only imported products but each store having different names i tried re index and cache

            – Pawankumar
            Jul 19 '17 at 15:40












          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%2f184407%2fmagento-2-returns-404-after-switching-language-on-product-pages%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














          This Issue occur, if the product was created before adding the new website/store/storeview (in other words website/store/storeview created after product is added).
          because Url rewrite for the product for that new storeview is not created so the url will be something like this catalog/product/view/id/15/s/tablets



          One way to resolve this is, open the product in edit mode on backend and just save it. This will create rewrite Url for all available storeview.






          share|improve this answer
























          • it did this but not solved. text.com/… this url is for my english store. while switch in to another language store giving 404 error. but in another store url look like text.com/product/view/id/890/s/…

            – Pawankumar
            Jul 19 '17 at 7:44













          • have you created product before creating store ? Have you created a new Store view or Website ?

            – Arun Karnawat
            Jul 19 '17 at 10:00













          • try reindexing and cache clean

            – Arun Karnawat
            Jul 19 '17 at 10:04











          • i created store views after that only imported products but each store having different names i tried re index and cache

            – Pawankumar
            Jul 19 '17 at 15:40
















          0














          This Issue occur, if the product was created before adding the new website/store/storeview (in other words website/store/storeview created after product is added).
          because Url rewrite for the product for that new storeview is not created so the url will be something like this catalog/product/view/id/15/s/tablets



          One way to resolve this is, open the product in edit mode on backend and just save it. This will create rewrite Url for all available storeview.






          share|improve this answer
























          • it did this but not solved. text.com/… this url is for my english store. while switch in to another language store giving 404 error. but in another store url look like text.com/product/view/id/890/s/…

            – Pawankumar
            Jul 19 '17 at 7:44













          • have you created product before creating store ? Have you created a new Store view or Website ?

            – Arun Karnawat
            Jul 19 '17 at 10:00













          • try reindexing and cache clean

            – Arun Karnawat
            Jul 19 '17 at 10:04











          • i created store views after that only imported products but each store having different names i tried re index and cache

            – Pawankumar
            Jul 19 '17 at 15:40














          0












          0








          0







          This Issue occur, if the product was created before adding the new website/store/storeview (in other words website/store/storeview created after product is added).
          because Url rewrite for the product for that new storeview is not created so the url will be something like this catalog/product/view/id/15/s/tablets



          One way to resolve this is, open the product in edit mode on backend and just save it. This will create rewrite Url for all available storeview.






          share|improve this answer













          This Issue occur, if the product was created before adding the new website/store/storeview (in other words website/store/storeview created after product is added).
          because Url rewrite for the product for that new storeview is not created so the url will be something like this catalog/product/view/id/15/s/tablets



          One way to resolve this is, open the product in edit mode on backend and just save it. This will create rewrite Url for all available storeview.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 19 '17 at 6:52









          Arun KarnawatArun Karnawat

          1,41521945




          1,41521945













          • it did this but not solved. text.com/… this url is for my english store. while switch in to another language store giving 404 error. but in another store url look like text.com/product/view/id/890/s/…

            – Pawankumar
            Jul 19 '17 at 7:44













          • have you created product before creating store ? Have you created a new Store view or Website ?

            – Arun Karnawat
            Jul 19 '17 at 10:00













          • try reindexing and cache clean

            – Arun Karnawat
            Jul 19 '17 at 10:04











          • i created store views after that only imported products but each store having different names i tried re index and cache

            – Pawankumar
            Jul 19 '17 at 15:40



















          • it did this but not solved. text.com/… this url is for my english store. while switch in to another language store giving 404 error. but in another store url look like text.com/product/view/id/890/s/…

            – Pawankumar
            Jul 19 '17 at 7:44













          • have you created product before creating store ? Have you created a new Store view or Website ?

            – Arun Karnawat
            Jul 19 '17 at 10:00













          • try reindexing and cache clean

            – Arun Karnawat
            Jul 19 '17 at 10:04











          • i created store views after that only imported products but each store having different names i tried re index and cache

            – Pawankumar
            Jul 19 '17 at 15:40

















          it did this but not solved. text.com/… this url is for my english store. while switch in to another language store giving 404 error. but in another store url look like text.com/product/view/id/890/s/…

          – Pawankumar
          Jul 19 '17 at 7:44







          it did this but not solved. text.com/… this url is for my english store. while switch in to another language store giving 404 error. but in another store url look like text.com/product/view/id/890/s/…

          – Pawankumar
          Jul 19 '17 at 7:44















          have you created product before creating store ? Have you created a new Store view or Website ?

          – Arun Karnawat
          Jul 19 '17 at 10:00







          have you created product before creating store ? Have you created a new Store view or Website ?

          – Arun Karnawat
          Jul 19 '17 at 10:00















          try reindexing and cache clean

          – Arun Karnawat
          Jul 19 '17 at 10:04





          try reindexing and cache clean

          – Arun Karnawat
          Jul 19 '17 at 10:04













          i created store views after that only imported products but each store having different names i tried re index and cache

          – Pawankumar
          Jul 19 '17 at 15:40





          i created store views after that only imported products but each store having different names i tried re index and cache

          – Pawankumar
          Jul 19 '17 at 15:40


















          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%2f184407%2fmagento-2-returns-404-after-switching-language-on-product-pages%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

          What other Star Trek series did the main TNG cast show up in?

          Berlina muro

          Berlina aerponto