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;
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
add a comment |
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
add a comment |
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
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
magento2.2.3 localhost redirect-url
asked May 20 at 5:00
SivaSiva
524214
524214
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
Thank you very much. It's working for me.
– Siva
May 20 at 6:06
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
Thank you very much. It's working for me.
– Siva
May 20 at 6:06
add a comment |
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
Thank you very much. It's working for me.
– Siva
May 20 at 6:06
add a comment |
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
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
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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