Posts: 5
Threads: 2
Joined: May 2013
2013-05-14, 00:59:39
(This post was last modified: 2013-05-14, 02:19:51 by Strong.)
Hi! When I install the i18n plugin and change the custom permalink structure to %nondefaultlanguage%/%parent%/%slug%.html I have the problem with urls. The url of main page is
http://my-website.com/.html. When I change structure to %parent%/%slug%.html - all ok, the url of main page is
http://my-website.com/.
What wrong?
Posts: 6,266
Threads: 181
Joined: Sep 2011
You have to modify your rewrite to match if you are using .html extensions.
Posts: 5
Threads: 2
Joined: May 2013
(2013-05-14, 01:05:03)shawn_a Wrote: You have to modify your rewrite to match if you are using .html extensions.
But the function that generates the addresses of pages does not depend on server settings (.htaccess) and rewrite module. I have the adress with 'http://www.example.com/.html' in menu.
Posts: 6,266
Threads: 181
Joined: Sep 2011
sounds like a i18n issue, ask in the plugins support thread.
Posts: 2,094
Threads: 54
Joined: Jan 2011
(2013-05-14, 00:59:39)Strong Wrote: Hi! When I install the i18n plugin and change the custom permalink structure to %nondefaultlanguage%/%parent%/%slug%.html I have the problem with urls. The url of main page is http://my-website.com/.html. When I change structure to %parent%/%slug%.html - all ok, the url of main page is http://my-website.com/.
What wrong?
The I18N plugin (currently) does not support extensions after the %slug% - at least not for the index page.