Codeigniter多语言并添加语言到url的seo [英] Codeigniter multilanguage and adding the language to the url for seo
问题描述
我阅读了这个
使codeigniter网站多语言的最佳方式。从lang数组调用取决于lang会话?
语言包含...
i想知道如何为多语言显示url ...
for language inclusion... i wonder how the url will appear for multi languages...
如何在网址中显示语言,以便在搜索引擎中对其进行索引...
How to show the language in url so that it will also be indexed in search engines...
例如sitenameDOTcom / es或sitenameDOTcom / whoweare / es或类似的东西,以及如何与控制器和网址同步...
for example sitenameDOTcom/es or sitenameDOTcom/whoweare/es or something like this and how to sync with the controllers and the urls...
推荐答案
啊,我在codeigniter论坛中发现了一篇文章。
这里是...
ah, i found an article in the codeigniter forums. here it is ...
https://github.com/EllisLab/CodeIgniter/wiki/URI-Language-Identifier
之前的网址是以下和现在它不工作。
http://codeigniter.com/wiki/URI_Language_Identifier/ i>
previously the url was like the following and now it doesn't work. http://codeigniter.com/wiki/URI_Language_Identifier/
,这里是一个使用
http://vikku.info/wordreminder/en
这篇关于Codeigniter多语言并添加语言到url的seo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!