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

Polylang - Remove slug of homepage in secondary language

programmeradmin1浏览0评论

I have a website with polylang and can't seem to figure out how to remove the slug in the homepage of any language that is not the same one.

For instance, I have example but in english its example/en/home.

Is there a way to keep it at /en/ ?

I have a website with polylang and can't seem to figure out how to remove the slug in the homepage of any language that is not the same one.

For instance, I have example but in english its example/en/home.

Is there a way to keep it at /en/ ?

Share Improve this question asked Mar 12, 2020 at 19:10 Fredy31Fredy31 8782 gold badges16 silver badges31 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 1

Yes it is possible. For a more comprehensive answer, see: https://polylang.pro/doc/define-your-home-page-as-a-static-page/

Well, I'm a moron. It's under Settings->URL Modifications... the 'The front page url contains the language code instead of the page name or page id' checkbox.

发布评论

评论列表(0)

  1. 暂无评论