du4822 2013-10-15 07:57
浏览 30

多语言wordpress网站

My goal is to be able to access an URL like blog.xxx.com/my-post-name-permalink and getting redirected to either blog.xxx.com/en/my-post-name-permalink or blog.xxx.com/de/my-post-name-permalink depending on the geo location from the ip addr.

I am not familiar with WP_MULTISITE, I can't seem to get it working but I didn't try much anyways. Maybe I can use seperate installations aswell. The downsite of having to upgrade each installation seperately is not too bad for me, the important thing for me is having the same post in different languages (which I'd translate myself).

I think the best way is to just code a location switch in blog.xxx.com/index.php that redirects accordingly in combination with .htaccess ModRewrite.

Is there a better / simpler way?

  • 写回答

3条回答 默认 最新

  • douhan1992 2013-10-15 08:49
    关注

    You can use this plugin for multilingual support in wordpress:

    Qtranslate

    Using this plugin you can achieve this task.

    Thanks!

    评论

报告相同问题?

悬赏问题

  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看