Magento2 - Is it possible to get specific store url in cms block?Magento 2 get base url (current store) in admin static block/page?Why do we have to use “store” for links in CMS like <a href=“store url='home'”>home</a>Category url always has wrong store in pathMagento get store url in cms pageURL on CMS page not always workingMagento 1.9.2.2 store url link not workingGet frontend category URL in admin area with correct base URLHow to get the public product url for simple products (not visible individually)Magento 2: How to get secure category URL programmatically?Magento 1 get product or category id by url stringMagento2 get url of all CMS pages using their identifiers
Short story about space worker geeks who zone out by 'listening' to radiation from stars
Did Dumbledore lie to Harry about how long he had James Potter's invisibility cloak when he was examining it? If so, why?
How do scammers retract money, while you can’t?
How long to clear the 'suck zone' of a turbofan after start is initiated?
How to write papers efficiently when English isn't my first language?
Detecting if an element is found inside a container
How can a function with a hole (removable discontinuity) equal a function with no hole?
Is the destination of a commercial flight important for the pilot?
Is HostGator storing my password in plaintext?
Why Were Madagascar and New Zealand Discovered So Late?
Applicability of Single Responsibility Principle
Escape a backup date in a file name
System.debug(JSON.Serialize(o)) Not longer shows full string
How to safely derail a train during transit?
Is there a problem with hiding "forgot password" until it's needed?
Nautlius: add mouse right-click action to compute MD5 sum
Large drywall patch supports
What can we do to stop prior company from asking us questions?
India just shot down a satellite from the ground. At what altitude range is the resulting debris field?
Customer Requests (Sometimes) Drive Me Bonkers!
Does "every" first-order theory have a finitely axiomatizable conservative extension?
How does the UK government determine the size of a mandate?
Fastening aluminum fascia to wooden subfascia
Is there a good way to store credentials outside of a password manager?
Magento2 - Is it possible to get specific store url in cms block?
Magento 2 get base url (current store) in admin static block/page?Why do we have to use “store” for links in CMS like <a href=“store url='home'”>home</a>Category url always has wrong store in pathMagento get store url in cms pageURL on CMS page not always workingMagento 1.9.2.2 store url link not workingGet frontend category URL in admin area with correct base URLHow to get the public product url for simple products (not visible individually)Magento 2: How to get secure category URL programmatically?Magento 1 get product or category id by url stringMagento2 get url of all CMS pages using their identifiers
I am trying to get store URL or base URL for a specific store in cms block.
I have tried store _store="1"
Also, config path="web/secure/base_url"
I wanted to know if this is going to work or is there any solution for this
url magento-2.2.5 stores
add a comment |
I am trying to get store URL or base URL for a specific store in cms block.
I have tried store _store="1"
Also, config path="web/secure/base_url"
I wanted to know if this is going to work or is there any solution for this
url magento-2.2.5 stores
2
Possible duplicate of Magento 2 get base url (current store) in admin static block/page?
– magefms
yesterday
add a comment |
I am trying to get store URL or base URL for a specific store in cms block.
I have tried store _store="1"
Also, config path="web/secure/base_url"
I wanted to know if this is going to work or is there any solution for this
url magento-2.2.5 stores
I am trying to get store URL or base URL for a specific store in cms block.
I have tried store _store="1"
Also, config path="web/secure/base_url"
I wanted to know if this is going to work or is there any solution for this
url magento-2.2.5 stores
url magento-2.2.5 stores
edited yesterday
Raj Mohan R
545
545
asked yesterday
ParthaviParthavi
1079
1079
2
Possible duplicate of Magento 2 get base url (current store) in admin static block/page?
– magefms
yesterday
add a comment |
2
Possible duplicate of Magento 2 get base url (current store) in admin static block/page?
– magefms
yesterday
2
2
Possible duplicate of Magento 2 get base url (current store) in admin static block/page?
– magefms
yesterday
Possible duplicate of Magento 2 get base url (current store) in admin static block/page?
– magefms
yesterday
add a comment |
1 Answer
1
active
oldest
votes
You Can try this
<a href="store url=""">Link to Base URL</a>
or This may be helpful
<a href="store direct_url=""">Link to Base URL</a>
I have tried both the solution but i am not able to get store1 url in store2
– Parthavi
yesterday
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%2f267391%2fmagento2-is-it-possible-to-get-specific-store-url-in-cms-block%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
You Can try this
<a href="store url=""">Link to Base URL</a>
or This may be helpful
<a href="store direct_url=""">Link to Base URL</a>
I have tried both the solution but i am not able to get store1 url in store2
– Parthavi
yesterday
add a comment |
You Can try this
<a href="store url=""">Link to Base URL</a>
or This may be helpful
<a href="store direct_url=""">Link to Base URL</a>
I have tried both the solution but i am not able to get store1 url in store2
– Parthavi
yesterday
add a comment |
You Can try this
<a href="store url=""">Link to Base URL</a>
or This may be helpful
<a href="store direct_url=""">Link to Base URL</a>
You Can try this
<a href="store url=""">Link to Base URL</a>
or This may be helpful
<a href="store direct_url=""">Link to Base URL</a>
answered yesterday
Magento_BhurioMagento_Bhurio
1809
1809
I have tried both the solution but i am not able to get store1 url in store2
– Parthavi
yesterday
add a comment |
I have tried both the solution but i am not able to get store1 url in store2
– Parthavi
yesterday
I have tried both the solution but i am not able to get store1 url in store2
– Parthavi
yesterday
I have tried both the solution but i am not able to get store1 url in store2
– Parthavi
yesterday
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%2f267391%2fmagento2-is-it-possible-to-get-specific-store-url-in-cms-block%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
2
Possible duplicate of Magento 2 get base url (current store) in admin static block/page?
– magefms
yesterday