How to redirect default store view to en?Magento2 multistore - redirect url without store code to default storeView urlMagento 2: Add to Cart and Cart Sharing do not work on multi store setupSetting product price per country while avoiding store view over-duplicationMagento 2 - Create a translatable custom modelMagento 2 change default store view programmaticallyHow to set default store viewHow copy all Categories attributes for store view A to default store viewRedirect to customer's store view on loginMagento 2 : Using default store, view, themesSame content (language) for multiple countries (store views)Remove '.php' from url redirect

Why did they go to Dragonstone?

Why is the Sun made of light elements only?

Was Mohammed the most popular first name for boys born in Berlin in 2018?

How to select certain lines (n, n+4, n+8, n+12...) from the file?

Ex-manager wants to stay in touch, I don't want to

How are one-time password generators like Google Authenticator different from having two passwords?

We are two immediate neighbors who forged our own powers to form concatenated relationship. Who are we?

Cryptography and elliptic curves

Company stopped paying my salary. What are my options?

Why should password hash verification be time constant?

What does formal training in a field mean?

What do "KAL." and "A.S." stand for in this inscription?

Should I pay on student loans in deferment or continue to snowball other debts?

Why is PerfectForwardSecrecy considered OK, when it has same defects as salt-less password hashing?

Does the 500 feet falling cap apply per fall, or per turn?

Why do unstable nuclei form?

How is CoreiX like Corei5, i7 is related to Haswell, Ivy Bridge?

Passport stamps art, can it be done?

Two researchers want to work on the same extension to my paper. Who to help?

What is wrong with my code? RGB potentiometer

What was the notion of limit that Newton used?

Is it a Munchausen Number?

How to slow yourself down (for playing nice with others)

Is it nonsense to say B -> [A -> B]?



How to redirect default store view to en?


Magento2 multistore - redirect url without store code to default storeView urlMagento 2: Add to Cart and Cart Sharing do not work on multi store setupSetting product price per country while avoiding store view over-duplicationMagento 2 - Create a translatable custom modelMagento 2 change default store view programmaticallyHow to set default store viewHow copy all Categories attributes for store view A to default store viewRedirect to customer's store view on loginMagento 2 : Using default store, view, themesSame content (language) for multiple countries (store views)Remove '.php' from url redirect






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








1















I've got a store with 2 stores, one with 2 languages and the other just 1.



So:




  • Website > Store1 > English (www.site.com/en)

  • Website > Store1 > French (www.site.com/fr)

  • Website > Store2 > English (www.site2.com/eng)



The problem is that I've setup an in-house dev environment, and on this environment, I am able to go to www.site.com and www.site.com/en and it loads the same content, yet I can remove "use default" and actually show different content between the two store views.



Now I know the best way, would be to get rid of the English specific store_view and have that rely on the default (which is actually in the plan, but not scheduled for awhile). But for now, I'd like to simply force all www.site.com -> www.site.com/en/ when /fr/ has not been explicitly chosen.



Does anybody know of an easy way to apply this in Apache2?










share|improve this question
























  • You should try this : > Magento2 multistore - redirect url without store code to default > storeView url

    – Saphal Jha
    2 days ago











  • I'm trying to avoid doing it at the code level. I'd prefer to apply the change in Apache2 is possible.

    – Spyrule
    yesterday

















1















I've got a store with 2 stores, one with 2 languages and the other just 1.



So:




  • Website > Store1 > English (www.site.com/en)

  • Website > Store1 > French (www.site.com/fr)

  • Website > Store2 > English (www.site2.com/eng)



The problem is that I've setup an in-house dev environment, and on this environment, I am able to go to www.site.com and www.site.com/en and it loads the same content, yet I can remove "use default" and actually show different content between the two store views.



Now I know the best way, would be to get rid of the English specific store_view and have that rely on the default (which is actually in the plan, but not scheduled for awhile). But for now, I'd like to simply force all www.site.com -> www.site.com/en/ when /fr/ has not been explicitly chosen.



Does anybody know of an easy way to apply this in Apache2?










share|improve this question
























  • You should try this : > Magento2 multistore - redirect url without store code to default > storeView url

    – Saphal Jha
    2 days ago











  • I'm trying to avoid doing it at the code level. I'd prefer to apply the change in Apache2 is possible.

    – Spyrule
    yesterday













1












1








1








I've got a store with 2 stores, one with 2 languages and the other just 1.



So:




  • Website > Store1 > English (www.site.com/en)

  • Website > Store1 > French (www.site.com/fr)

  • Website > Store2 > English (www.site2.com/eng)



The problem is that I've setup an in-house dev environment, and on this environment, I am able to go to www.site.com and www.site.com/en and it loads the same content, yet I can remove "use default" and actually show different content between the two store views.



Now I know the best way, would be to get rid of the English specific store_view and have that rely on the default (which is actually in the plan, but not scheduled for awhile). But for now, I'd like to simply force all www.site.com -> www.site.com/en/ when /fr/ has not been explicitly chosen.



Does anybody know of an easy way to apply this in Apache2?










share|improve this question
















I've got a store with 2 stores, one with 2 languages and the other just 1.



So:




  • Website > Store1 > English (www.site.com/en)

  • Website > Store1 > French (www.site.com/fr)

  • Website > Store2 > English (www.site2.com/eng)



The problem is that I've setup an in-house dev environment, and on this environment, I am able to go to www.site.com and www.site.com/en and it loads the same content, yet I can remove "use default" and actually show different content between the two store views.



Now I know the best way, would be to get rid of the English specific store_view and have that rely on the default (which is actually in the plan, but not scheduled for awhile). But for now, I'd like to simply force all www.site.com -> www.site.com/en/ when /fr/ has not been explicitly chosen.



Does anybody know of an easy way to apply this in Apache2?







magento2 .htaccess apache






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday







Spyrule

















asked May 6 at 18:36









SpyruleSpyrule

174118




174118












  • You should try this : > Magento2 multistore - redirect url without store code to default > storeView url

    – Saphal Jha
    2 days ago











  • I'm trying to avoid doing it at the code level. I'd prefer to apply the change in Apache2 is possible.

    – Spyrule
    yesterday

















  • You should try this : > Magento2 multistore - redirect url without store code to default > storeView url

    – Saphal Jha
    2 days ago











  • I'm trying to avoid doing it at the code level. I'd prefer to apply the change in Apache2 is possible.

    – Spyrule
    yesterday
















You should try this : > Magento2 multistore - redirect url without store code to default > storeView url

– Saphal Jha
2 days ago





You should try this : > Magento2 multistore - redirect url without store code to default > storeView url

– Saphal Jha
2 days ago













I'm trying to avoid doing it at the code level. I'd prefer to apply the change in Apache2 is possible.

– Spyrule
yesterday





I'm trying to avoid doing it at the code level. I'd prefer to apply the change in Apache2 is possible.

– Spyrule
yesterday










0






active

oldest

votes












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%2f273570%2fhow-to-redirect-default-store-view-to-en%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















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%2f273570%2fhow-to-redirect-default-store-view-to-en%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?