Magento – How to Magento remove default store view code from url

magento-1.9seostore-viewurlurl-rewrite

We need your help to solve this problem.

we have a 2 view store in English and Arabic

URLs now

www.example.com/en
www.example.com/ar

we need to remove code view in English version only as default store view.

without sub domain solution.

we tried Jreinke Magento hide default store code but its not working well.

Thanks

Best Answer

When Magento sites add a second store on the same domain there is a problem with legacy requests to old URLs. This is bad SEO and a bad experience for customers too I just Resolved this problem by this extension

https://github.com/lalitmohann/Magento-Store-Codes

Extension available on github. click here

i solved this Problem , i hope that's save others Person here is the details :

1- Download the zip existe in this page : https://github.com/lalitmohann/Magento-Store-Codes

2- unzip the file and put the folder in {app/code/community/}

3- In your backoffice go to "System > Tools > Compilation" and click the rebuild button

4- always in backoffice got to "System > Configuration > Web > URL options" and set the attribute "and default store view" to No and save the configuration

5- Clear your cach magento and enjoy your application :) .

Related Topic