How to make Magento accept unicode utf-8 characters in the url key ?
what I want to achieve is something like this, in different non-English languages
http://www.magento-site.com/ساعة-يد-كاسيو-2015.html
I am using Magento 1.9
how can I do it ?
There is an extension named URL Key Master which adds the support for Unicode URL Key for Product, Category and also CMS Pages to Magento.
Take a look at Demo site or search for "URL Key Master by Magendev" in magento connect.
There are a number of files responsible for allowing UTF-8 characters at the 'URL Key'. These files include:
\app\code\core\Mage\Adminhtml\Block\Cms\Page\Edit\Tab\Main.php
\app\code\core\Mage\Cms\Model\Resource\Page.php
\app\code\core\Mage\Catalog\Model\Category.php
\app\code\core\Mage\Catalog\Model\Product\Url.php
\app\code\core\Mage\Core\Controller\Request\Http.php
Use this tutorial for details on how to make Magento accept Unicode URL Key for Products, Categories, CMS Pages
Related
In my store I have got 2 languages, English (default) and German. I also have a category, lets call it other.
The url key for other is other and sonstiges for the German view. Now, when I send somebody a link to the German view (www.example.com/sonstiges.html), it generates a 404 not found until I select German as language. Afterwards it works when the link is clicked.
I removed the store view code from my url by the way, it has to stay that way.
Why is that and how can I change it?
Thanks!
Its happening for url rewrite problem.
Example : For product if you provide different url key for different store view like different url key for English and different url key for German then if you share the url from english site and if someone open in German view then he will get 404 not found.
Solution : Go to that particular product in the admin then switch store view and set same url key for both store view. Either dont provide url key for any store view so Magento will generate by own.
Thanks .
I have a Magento website with some pages linked to main navigation.
For example, in my default view (Italian) I have www.example.com/italian-url-key
Then I created another page for English view with url www.example.com/english-url-key
So, when I am on the italian version of the page and try to switch to english version, this is the url that magento generate: http://www.example.com/italian-url-key/?___store=english&store=&___from_store=default and on click it gives me 404 page.
How can I fix it? I need that this 2 pages should be linked, also if url key is different.
Many thanks!
Out of the box Magento does not support URL Translation, both pages need the same URL key. Check instructions from the Magento Docs on how to translate CMS pages.
To translate a CMS page, you must create a new page that has the same
URL Key as the original, but assigned to the specific store view.
So you will either have to stick to one languages for your URLs or develop/acquire a module to do this for you. The magento-language-roots or CMSRewrites modules both look like they will achieve this for you.
You may also want to consider adding Hreflang tags to your head.phtml as you have a multi-lingual site.
This might be a basic question, I'm still relatively new to Magento. I have 2 store views in a magento project. 1 for English (default) and 1 for Japanese. While working with both store views, I noticed how if for example I switch to the Japanese store view, if I redirected to a different page or content on the store, the language goes back to English. How do I prevent the website from going back to the default language every time I change categories/catalogs?
That is all about Magento Admin setting. While creating Content Pages/Categories/products, there is a option that ask to choose Store View.
You can add content for Cateogries/Product/CMS Pages for each locale. If it is done then you'll be able to see your site content on the basis of current locale. Hence you need to go through Magento Admin first.
Hope it will work for you. Please let me know if any issue.
Managing contents in multilingual stores in Magento is easy.
Edit/Create Product/Category/Page/Static blocks according to need storeview and put content according to languages in that.
Now access pages by store code, if we are using that.
In some case we don't find the heading names according to languages so just enable inline translater from admin and do translation specific to store/website.
To run Magento store using urls we have both options index.php modifiction and using .htaccess using website and store codes.
On running Magento multisite , multistore. We generally face the common urls for media, js and other resources we should use symlink to increase SEO ranking and score.
Please feel free to contact.
Install your language package.
Create products, categories, pages, and static blocks on the basis of your selected language.
Sometimes translation does not work for few words. In those cases, Inline translation from admin will help you.
Managing content according to store view is very easy.
follow up below steps for managing content according to Store view.
Edit your product or category or your page and static block etc.
after that you can see store select left side in product and category and on page you can see feild below url in static block also. select your store view.
whater ever you want to change or edit please do according to you.
After that save it will apear only on your selected store.
Note: if you not edit any fild by store then it will show default store contents.
I have a website which is built in joomla 1.5 in two languages English and Arabic. I have recently enabled the Joomla SEO URLs and aliased all the articles with custom alias URLs. Alias is working fine on English version - which is the default installation language - but not on Arabic.
Is there any option i can specify separate aliases for different languages? Or is there any configuration I am missing?
Please advice
Thanks in Advance
When the actual content was translated, the SEO URL option was not enabled on the website. Which resulted in the component ignoring the translation of the alias field, also the 'Copy original to Alias' option was disabled.
After enabling the SEO URLS options, at the time of translation make sure that you have translated the alias as well or copy the original to the translation field. No need for paid plugin!
This applies to component, article and menu items for all languages except default one.
I have difficulty that my current store is English & I am in category page but the thing is, that now if I write url's category.html part to it's french version then it gives an error of 404 page not found.
Ex. http://www.abcd.fr/r4-cards.html to http://www.abcd.fr/cartes-r4.html (From English to French View) - These are dummy urls so don't click to view!
Other thing is when I enter french url then the whole site should be converted in French view.
Any Help?
Please.
I suggest you to rebuild indexes . if everything is set up properly this is a cache and old indexes issue