WordPress.org

Forums

Polylang
[resolved] Getting 404 on pages and articles but not custom post types (3 posts)

  1. RRikesh
    Member
    Posted 2 years ago #

    Hello Chouby, thank you for this awesome plugin. It's the first time I'm using it and I'm facing some problems.

    I'm having 404 on pages and articles. However, I have no problem on custom post types. The problem arises when I use custom permalinks only (/%postname%/). When I use the default permalink(that is http://example.com/?p=123) I get the page without problem.

    Eg of custom post urls(no problem):
    http://example.com/en/projects/projet-eng-1/
    http://example.com/fr/projects/proj-fren-1/

    Eg of page url(404):
    http://example.com/en/page-1-english/
    http://example.com/fr/page-1-french/

    The french and english versions are linked together.

    Languages: EN and FR
    Theme: Twenty Eleven Version 1.4
    Polylang Version 0.8.10

    Options set in the 'Settings' Tab:
    - Remove /language/ in pretty permalinks.
    - Add language information to all URL including posts, pages, categories and post tags

    Thank you.

    http://wordpress.org/extend/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 2 years ago #

    Rather strange. Have you other plugins activated?

    Could you try with the new version v0.9 (or even better, the development version which already corrects some bugs)?

    And resave your permalinks settings?

  3. RRikesh
    Member
    Posted 2 years ago #

    Hi Chouby, thanks for the help.

    It was an issue with my .htaccess file. I created another one based on http://codex.wordpress.org/Using_Permalinks and then I saved the permalinks settings. No problem since that. Thanks for the help :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polylang
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags