Redirecting to different URL's after restoring the site on localProblem when moving live shop to localhostCan't access Magento front-end or Admin after migrating to local MAMP environmentLive to local development - redirecting to live siteSite randomly redirecting to localhostCreate local host for current live websiteActivate downloaded Magento Tempelate in Localhost (xamp server)Magento 2.1.8 : Redirect to localhost for admin URL after updateChanging base_urls to work on localhostHow do I set up multiple server blocks in Nginx with mysql and php-fpm magento 2.2.3Run Local site using UniServer Zero

Where have Brexit voters gone?

How to patch glass cuts in a bicycle tire?

How to respond to an upset student?

Is it true that cut time means "play twice as fast as written"?

Alignment: "Breaking out" of environment (enumerate / minipage)

What was the idiom for something that we take without a doubt?

Gladys goes shopping

What are these arcade games in Ghostbusters 1984?

I know that there is a preselected candidate for a position to be filled at my department. What should I do?

What is quasi-aromaticity?

A Riley Respite

In general, would I need to season a meat when making a sauce?

NIntegrate doesn't evaluate

How long until a random word with letters "A", "B", "C" ends in the pattern "ABC"?

What to do when you've set the wrong ISO for your film?

Where's this lookout in Nova Scotia?

Why does Mjolnir fall down in Age of Ultron but not in Endgame?

Teacher help me explain this to my students

Employer asking for online access to bank account - Is this a scam?

How to use libraries with delays inside within a time critical STM32 HAL application?

Inconsistent results from Wolfram Could

Did 20% of US soldiers in Vietnam use heroin, 95% of whom quit afterwards?

Does Nitrogen inside commercial airliner wheels prevent blowouts on touchdown?

My employer faked my resume to acquire projects



Redirecting to different URL's after restoring the site on local


Problem when moving live shop to localhostCan't access Magento front-end or Admin after migrating to local MAMP environmentLive to local development - redirecting to live siteSite randomly redirecting to localhostCreate local host for current live websiteActivate downloaded Magento Tempelate in Localhost (xamp server)Magento 2.1.8 : Redirect to localhost for admin URL after updateChanging base_urls to work on localhostHow do I set up multiple server blocks in Nginx with mysql and php-fpm magento 2.2.3Run Local site using UniServer Zero






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








1















We have a development server to test our code changes before pushing them to live. Recently, we have restored the development server to local (xampp) for testing and also done the necessary changes to the core_config_data in database.



Though we have done the changes in core_config_data, most of the products still redirecting to the development server instead of showing them as a localhost URL. Hope you got my point.



I can understand that I have missed something but I don't know what it is.



Can anyone please help me to resolve this issue?










share|improve this question




























    1















    We have a development server to test our code changes before pushing them to live. Recently, we have restored the development server to local (xampp) for testing and also done the necessary changes to the core_config_data in database.



    Though we have done the changes in core_config_data, most of the products still redirecting to the development server instead of showing them as a localhost URL. Hope you got my point.



    I can understand that I have missed something but I don't know what it is.



    Can anyone please help me to resolve this issue?










    share|improve this question
























      1












      1








      1








      We have a development server to test our code changes before pushing them to live. Recently, we have restored the development server to local (xampp) for testing and also done the necessary changes to the core_config_data in database.



      Though we have done the changes in core_config_data, most of the products still redirecting to the development server instead of showing them as a localhost URL. Hope you got my point.



      I can understand that I have missed something but I don't know what it is.



      Can anyone please help me to resolve this issue?










      share|improve this question














      We have a development server to test our code changes before pushing them to live. Recently, we have restored the development server to local (xampp) for testing and also done the necessary changes to the core_config_data in database.



      Though we have done the changes in core_config_data, most of the products still redirecting to the development server instead of showing them as a localhost URL. Hope you got my point.



      I can understand that I have missed something but I don't know what it is.



      Can anyone please help me to resolve this issue?







      magento2.2.3 localhost redirect-url






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 20 at 5:00









      SivaSiva

      524214




      524214




















          1 Answer
          1






          active

          oldest

          votes


















          1














          In core_config_data Table :-



          UPDATE core_config_data SET value = 'your_site_url' WHERE config_id = '2';
          UPDATE core_config_data SET value = 'your_site_url' WHERE config_id = '3';


          After core_config_data Changes Apply This Command :-



          sudo rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs pub/static/deployed_version.txt var/cache var/page_cache var/generation var/view_preprocessed var/session generated/code

          sudo php bin/magento setup:upgrade

          sudo php bin/magento setup:static-content:deploy -f

          sudo php bin/magento indexer:reindex

          sudo php bin/magento cache:flush





          share|improve this answer























          • Thank you very much. It's working for me.

            – Siva
            May 20 at 6:06











          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%2f275196%2fredirecting-to-different-urls-after-restoring-the-site-on-local%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









          1














          In core_config_data Table :-



          UPDATE core_config_data SET value = 'your_site_url' WHERE config_id = '2';
          UPDATE core_config_data SET value = 'your_site_url' WHERE config_id = '3';


          After core_config_data Changes Apply This Command :-



          sudo rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs pub/static/deployed_version.txt var/cache var/page_cache var/generation var/view_preprocessed var/session generated/code

          sudo php bin/magento setup:upgrade

          sudo php bin/magento setup:static-content:deploy -f

          sudo php bin/magento indexer:reindex

          sudo php bin/magento cache:flush





          share|improve this answer























          • Thank you very much. It's working for me.

            – Siva
            May 20 at 6:06















          1














          In core_config_data Table :-



          UPDATE core_config_data SET value = 'your_site_url' WHERE config_id = '2';
          UPDATE core_config_data SET value = 'your_site_url' WHERE config_id = '3';


          After core_config_data Changes Apply This Command :-



          sudo rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs pub/static/deployed_version.txt var/cache var/page_cache var/generation var/view_preprocessed var/session generated/code

          sudo php bin/magento setup:upgrade

          sudo php bin/magento setup:static-content:deploy -f

          sudo php bin/magento indexer:reindex

          sudo php bin/magento cache:flush





          share|improve this answer























          • Thank you very much. It's working for me.

            – Siva
            May 20 at 6:06













          1












          1








          1







          In core_config_data Table :-



          UPDATE core_config_data SET value = 'your_site_url' WHERE config_id = '2';
          UPDATE core_config_data SET value = 'your_site_url' WHERE config_id = '3';


          After core_config_data Changes Apply This Command :-



          sudo rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs pub/static/deployed_version.txt var/cache var/page_cache var/generation var/view_preprocessed var/session generated/code

          sudo php bin/magento setup:upgrade

          sudo php bin/magento setup:static-content:deploy -f

          sudo php bin/magento indexer:reindex

          sudo php bin/magento cache:flush





          share|improve this answer













          In core_config_data Table :-



          UPDATE core_config_data SET value = 'your_site_url' WHERE config_id = '2';
          UPDATE core_config_data SET value = 'your_site_url' WHERE config_id = '3';


          After core_config_data Changes Apply This Command :-



          sudo rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs pub/static/deployed_version.txt var/cache var/page_cache var/generation var/view_preprocessed var/session generated/code

          sudo php bin/magento setup:upgrade

          sudo php bin/magento setup:static-content:deploy -f

          sudo php bin/magento indexer:reindex

          sudo php bin/magento cache:flush






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 20 at 5:30









          Rk RathodRk Rathod

          2,041214




          2,041214












          • Thank you very much. It's working for me.

            – Siva
            May 20 at 6:06

















          • Thank you very much. It's working for me.

            – Siva
            May 20 at 6:06
















          Thank you very much. It's working for me.

          – Siva
          May 20 at 6:06





          Thank you very much. It's working for me.

          – Siva
          May 20 at 6:06

















          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%2f275196%2fredirecting-to-different-urls-after-restoring-the-site-on-local%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

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form