最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugin wpml - Redirect some of the languages on a multi-language site

programmeradmin2浏览0评论

I have a site that uses WPML to display three languages.

  • EN - www.domain
  • FR - www.domain/fr/
  • ES - www.domain/es/

I want to set up redirects so that all of the EN and FR pages (home and inner pages) are redirected (on a page-by-page basis) to pages on a different domain. However, a user that visits the home page with their browser language set to ES would be redirected to www.domain/es/.

I can use the Redirection plugin for the EN and FR redirects but by doing so, all users (including those with a browser language set to ES) are automatically redirected to the new domain. In other words, the ES redirect doesn't work since it's second in the redirect queue.

What are my options?

发布评论

评论列表(0)

  1. 暂无评论