2012年4月22日星期日

magento details - Add store code to Urls

 

One option is to set the code to add stores to the Website (the Add Store Code to Urls), I would say under this setting the role in the setting of magento. This example uses the Magento version 1.4.(popular fridge magnets)

This setting is located in the System -> Configuration -> Web->url opintion

setting 'add store code to urls'  to 'NO'.


This setting magento store the view (multi-language stores) work, which the store code refers to the System -> Manage stores, the store code in the existing store view (store view)

It is assumed that you have three stores View (store view, is the front desk of the language switch), respectively, for the English shop code en French shop for fr.

If you do not open the Add Store Code to Urls this set, your URL is not anything special. You switch to a different shop (store the view, is the language of the front desk to switch), your address bar may occur following URL:



http:// ............ /? ___store = fr & ___from_store = en

For example: http://127.0.0.1/lanting/index.php/electronics/cameras/olympus-stylus-750-7-1mp-digital-camera.html?___store=fr&___from_store=en

This means that, to jump from the en (English Branch) fr (French shop).

When you open the Add Store, Code to Urls set, then switch your store view (store view is the front desk of the language switch)

For example:

http:// ......... / fr/electronics/cameras/digital-cameras/olympus-stylus-750-7-1mp-digital-camera.html

http:// ......... / en/electronics/cameras/digital-cameras/olympus-stylus-750-7-1mp-digital-camera.html

Note that more than a fr and en in front of the URL.

This is the article talking about setting Add store code to the web site (the Add Store Code to Urls), the effect of this option.

Note: Due to the URL, set enabled to go to System -> the Index Management refresh.

Summary:

With this setting, the language is not the same due to different the store view (language shop). The same product with a French address, an English address, can be submitted to different search engines, or do different promotion. But things are double-edged sword, the specific circumstances need specific analysis.



Magnet Shop:fridge-magnets-online-shop || foot-locker

没有评论:

发表评论