Add Store Codes to URLRedirected to store base URL instead of custom admin URLcheck 'add store code to urls'...
What happens when I Twin Life Transference?
Bash script to truncate subject line of incoming email
False written accusations not made public - is there law to cover this?
Is there any risk in sharing info about technologies and products we use with a supplier?
How to make ice magic work from a scientific point of view?
A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?
What game did these black and yellow dice come from?
After checking in online, how do I know whether I need to go show my passport at airport check-in?
Am I a Rude Number?
Which communication protocol is used in AdLib sound card?
How do I append a character to the end of every line in an excel cell?
How do you funnel food off a cutting board?
How to visualize the Riemann-Roch theorem from complex analysis or geometric topology considerations?
How to assess the long-term stability of a college as part of a job search
Why avoid shared user accounts?
Airplane generations - how does it work?
Why is it that Bernie Sanders is always called a "socialist"?
Has any human ever had the choice to leave Earth permanently?
TikZ graph edges not drawn nicely
What will happen if Parliament votes "no" on each of the Brexit-related votes to be held on the 12th, 13th and 14th of March?
How do you voice extended chords?
Looking for a specific 6502 Assembler
Play Zip, Zap, Zop
Boss asked me to sign a resignation paper without a date on it along with my new contract
Add Store Codes to URL
Redirected to store base URL instead of custom admin URLcheck 'add store code to urls' enabled/not by adminStore code url not changed by saving from backend as well as change value in database(core_config_data)Magento 2: get store url without store code [SOLVED]Is there a reason hyphen/dash is not allowed in store codes?Programmatically change base url of storecan't access website after adding store code to urlMagento2 multistore - redirect url without store code to default storeView urlMagento 2.2 - How to redirect url with store code to url without store code?
In admin panel under Url options, I want to turn on Store codes on Url, since I want to visit my country-specific pages. I'm running locally (using WAMP) so my IP is 127.0.0.1:8888. I did set my host file so that magento.lan points to 127.0.0.1. Base url is set to magento.lan (but my store is still visited on magento.lan:8888).
The error I'm getting when trying to enable the store codes to url setting is:
Invalid domain name: The input appears to be a DNS hostname but cannot match TLD against known list; The input does not appear to be a valid URI hostname; The input does not appear to be a valid local network name
magento-2.1 base-url store-code
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
In admin panel under Url options, I want to turn on Store codes on Url, since I want to visit my country-specific pages. I'm running locally (using WAMP) so my IP is 127.0.0.1:8888. I did set my host file so that magento.lan points to 127.0.0.1. Base url is set to magento.lan (but my store is still visited on magento.lan:8888).
The error I'm getting when trying to enable the store codes to url setting is:
Invalid domain name: The input appears to be a DNS hostname but cannot match TLD against known list; The input does not appear to be a valid URI hostname; The input does not appear to be a valid local network name
magento-2.1 base-url store-code
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
In admin panel under Url options, I want to turn on Store codes on Url, since I want to visit my country-specific pages. I'm running locally (using WAMP) so my IP is 127.0.0.1:8888. I did set my host file so that magento.lan points to 127.0.0.1. Base url is set to magento.lan (but my store is still visited on magento.lan:8888).
The error I'm getting when trying to enable the store codes to url setting is:
Invalid domain name: The input appears to be a DNS hostname but cannot match TLD against known list; The input does not appear to be a valid URI hostname; The input does not appear to be a valid local network name
magento-2.1 base-url store-code
In admin panel under Url options, I want to turn on Store codes on Url, since I want to visit my country-specific pages. I'm running locally (using WAMP) so my IP is 127.0.0.1:8888. I did set my host file so that magento.lan points to 127.0.0.1. Base url is set to magento.lan (but my store is still visited on magento.lan:8888).
The error I'm getting when trying to enable the store codes to url setting is:
Invalid domain name: The input appears to be a DNS hostname but cannot match TLD against known list; The input does not appear to be a valid URI hostname; The input does not appear to be a valid local network name
magento-2.1 base-url store-code
magento-2.1 base-url store-code
asked Jul 13 '17 at 12:05
CakeCake
871311
871311
bumped to the homepage by Community♦ 1 min 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♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Setting web/url/use_store
in core_config_data
table to 1 fixed the issue.
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%2f183545%2fadd-store-codes-to-url%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
Setting web/url/use_store
in core_config_data
table to 1 fixed the issue.
add a comment |
Setting web/url/use_store
in core_config_data
table to 1 fixed the issue.
add a comment |
Setting web/url/use_store
in core_config_data
table to 1 fixed the issue.
Setting web/url/use_store
in core_config_data
table to 1 fixed the issue.
edited Jul 13 '17 at 13:42
Piyush
4,81472053
4,81472053
answered Jul 13 '17 at 13:39
CakeCake
871311
871311
add a comment |
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%2f183545%2fadd-store-codes-to-url%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