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

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

          Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

          Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?