http://www.opencart.com/index.php?route ... on_id=3550
can make your site have this:
http://www.domain.com/es/catalog
http://www.domain.com/fr/catalog
http://www.domain.com/it/catalog
also (apparently) the products will be in each language folder and will have the visitor see the page in the specific language.
Creator was kind enough to send us 1 example of site using his extension.
Please if anyone is using Uber SEO with more then 1 language feel free to post it for us to check if this is finally the solution to our problems...
Warm regards,
Arames
http://www.inveostore.com/magic-seo-urls-for-opencart-9
I HAVE InveoSEO.
It is a good extension (a bit expensive I admit), but my MAIN problems with Inveo are:
1/ The new SEO URLs are NOT embed / showing in ANY FEEDS
2/ The new SEO URLs are NOT showing in Google xmp sitemaps
3/ The Mulitlanguage folder en/ de/ fr/ will NOT redirect you to the correct language.
Let me explain, if you go to:
http://www.domain.com/es/catalog
it will redirect you to:
http://www.domain.com/en/catalog
UNLESS you have clicked on the Spanish Language Flag BEFORE or AFTER.
Once you click on the Spanish Flag for example, then going to ANYTHING like:
http://www.domain.com/fr/catalog
or
http://www.domain.com/de/catalog
will redirect you to:
http://www.domain.com/es/catalog
So it is NOT good for Google since google can NOT click on the Flag and therefor my dearest they will crawl ONLY:
http://www.domain.com/en/catalog
and NOTHING else.
This extension changes your URLs on the FLY (via htaccess) and therefor will not show in any feeds or OpenCart core files.
I have sent an email to developer and he has promised to make at least an Sitemap with the new URLs so I can submitted to google.
So you see it is not what we are looking for in the matter of changing language when you change folder ...
Hope I could help and wish that someone post his review on any other SEO module here as well
<edit>
Version 1.5.2.1
Clean install
</edit>
I hope I can be of some help...
I've started trying to make exactly what the topicstarter wants,
I wanted it too

I'm absolutely no pro or whatsoever with OpenCart,
but have managed to make the categories as:
- http://www.shop.com/en/english-category
- http://www.shop.com/nl/dutch-category
Therefor I changed some core files (don't know if that's the way to go, but as said, I'm not an OpenCart expert).
Now I need to do the same for other elements of the shop (products, informational pages, etc).
What I did:
- add column `language_id` INT(10) DEFAULT 1 to table `url_alias`
Changed the following files to take the (current) language_id into account:
- admin\view\template\catalog\category_form.php
- admin\model\catalog\category.php
- catalog\controller\common\seo_url.php
- catalog\controller\module\language.php
After some quick but nasty 'hacking' I tested if the same can be accomplished with products: and yes we can!
But there must be things to be made to check if the first part in the url is the current language or not, and set the language according to it, and that kind of stuff. But I don't know what the best place is to do that kind of stuff.
Also I don't know if developers of OpenCart can help me out?
There are also a lot more things missing in general, like a 'url_alias_history' table. Mostly, I experience at companies, a url will change sometimes. But you don't want to catch all allready indexed urls manually!
I couldn't upload the changed files because they were rejected, how can we help eachother out here? (I want assistance with coding too! )
Best regards,
Leo Zandvliet
I don't mass-sell webshops,
but knowledge and advice.
www.zandvlietwebconsultancy.nl
- you can give products an url per language
- you can give categories an url per language
- you can switch language, and still be redirected to the correct page in the other language
- if you dont have the languageas first part of the url, it will be added and you will be redirected
To do:
- give information pages an url per language
- make different languages accessible for search engines
OpenCart request:
- make an url history, if an url changes the allready indexed urls must be catched and redirected
I don't mass-sell webshops,
but knowledge and advice.
www.zandvlietwebconsultancy.nl
I was developing this to make a good basis for a new customer,
but the customer chose for some cheap (not seo friendly) other solution.
I then never finnished this completely I think.
Per coincidence I checked this topic again to see your post, I'm not very active here last year

I don't mass-sell webshops,
but knowledge and advice.
www.zandvlietwebconsultancy.nl
http://perfectcod.es/2013/07/05/opencar ... rough-url/
http://forum.opencart.com/viewtopic.php ... 35#p618832
Ernie
I don't use Forum Mail, to reach me, contact: jti@jacob.ch
-
Server Q & A Basic Information on Code + Settings
http://www.everyauction.info/serverinfo.html
Demoversion OpenCart LIGHT v.1.5.6.5
http://www.jti.li/shop/
1'400+ FREE OC Extensions - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
-
You may want to take a look at our Multilingual SEO package which includes the language as part of the URL. Recommended OpenCart version 2.2.0.0 or later.
MHC Web Design
Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * TrustPilot Reviews * Google Rich Snippets * Google Tag Manager * Export/Import Tool * Template Switcher PHP/Twig
http://yourdomain/langcode/request-string - if language is not default
and
http://yourdomain/request-string - for default frontend language
for multilanguage shop only!
v 2.1
index.php
line 112
Code: Select all
//Set language from URL
$languages = array();
$query = $db->query("SELECT * FROM `" . DB_PREFIX . "language` WHERE status = '1'");
foreach ($query->rows as $result) {
$languages[$result['code']] = $result;
}
$langdata = $config->get('config_language');
$code = '';
if(isset($_GET['_route_']))
{
$_route = explode('/', $_GET['_route_']);
//if lang in url and lang not default
if(isset($languages[$_route[0]]))
{
if($_route[0]!=$langdata)
{
//1 - set lang
$code = $_route[0];
$urilang = $code.'/';
}
else $code = $langdata;
//2 - modyfy _route_ or delete
if(count($_route)==1 || (isset($_route[1]) && $_route[1]=='index.php'))
{
unset($_GET['_route_']);
}
if(isset($_route[1]) && $_route[1]!='index.php')
$_GET['_route_'] = str_ireplace($_route[0].'/', '' , $_GET['_route_']);
}// else set default
else $code = $langdata;
//}else $code = $langdata;
} else {
$code = $langdata;
}
but it's up to user
BLOG Article link - https://sensej.org/ocstore-how-to-set-l ... erion-2-1/
just write me in any questions
telegram @sanuich
Users browsing this forum: No registered users and 9 guests