cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Not find pages after create subfolder Multilanguage store in Magento

Error: Not find pages after create subfolder Multilanguage store in Magento

Hello!

I want your help.

Magento version: 1.9.2.2

My task is "create multilanguage store on magento by method subfolder". Like this store.com/de, store.com/pl, store.com/fr and other.

But after all actions i have error...

What i do:

1) create store in magento for every language

2) create folders for every language version

3) copy files ".htaccess" and "index.php" in every folder.

4) change string in file index.php. For example, for french store:

$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';

Mage::run('french',$mageRunType); 

and path to system file (mage.php and config.php)

5) change System-Configuration-Web-Base URL in every store. For example "store.com/fr"

 

But after this my page in Magento store - 404. For example, my product before is available on link store.com/culpa-qui-officia-deserunt.html, but after link is store.com/fr/culpa-qui-officia-deserunt.html return code 404. And all pages! (products' page, blogs' page, contact). Beside main page: main page is available and work good.

 

I try to use button "Mass Generate Rewrite URLs", but it didn't help. I didn't find answer for my problem on another forum.

 

Please! Help me! Any variants, where error is...

 

2 REPLIES 2

Re: Error: Not find pages after create subfolder Multilanguage store in Magento

I think you want to check out what does System > Configuration > Web > Url Options > Add Store Code to URL-s.

 

And you definitely don't want to have those folders as they have precedent over rewrites. Just make sure that you Store Views have right code (these coded are added to URL-s).

Tanel Raja

Re: Error: Not find pages after create subfolder Multilanguage store in Magento

Before I had "No" in Add Store Code to URL-s. Now I try to use your advice and change on "Yes". But it don't help. Now and "Main page" return error 404

I check Store code. It's right(

Thanks, but it didn't help(