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

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

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

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form