• Resolved centaro

    (@centaro)


    Hello everyone!

    I have backed up my website and transferred it to a new domain, but I have two problems that I think might be related to Polylang.

    1 – I have set up my site just like I had my old site set up with:

    • The language is set from the directory name in pretty permalinks
    • Hide URL language information for default language
    • Remove /language/ in pretty permalinks
    • The front page url contains the language code instead of the page name or page id
    • But for pages in for example French … homepage.com/fr/ has the right URL, that’s right, but homepage.com/fr/contact is seen as homepage.com/fr/fr/contact from the editor.

    2 – I cannot access 7/10 of the languages. Only English, Spanish and Danish work … the rest of pages display 404 or the_content function errors when I try to edit them with Elementor. Also, they are not accessible from the front end.

    I can see that those three languages don’t change the URL’s with an extra slug like for example French does turning homepage.com/fr/contact into homepage.com/fr/fr/contact

    I would really appreciate a some help and a solution to it because the site is huuuuuuge! And reproducing it would be a pain in the bum.

    Thanks in advance,
    centaro

    • This topic was modified 4 years, 6 months ago by centaro.
Viewing 1 replies (of 1 total)
  • Thread Starter centaro

    (@centaro)

    The links belong there as they are the homepage for each language. Turns out there is one slug for the language and one slug for the main page of each language, which cannot be the same.

    mysite.com/fra/fr will work

Viewing 1 replies (of 1 total)
  • The topic ‘Back-up permalinks’ is closed to new replies.