• Resolved ecdltf

    (@ecdltf)


    Thanks for this really great plugin! It works rather flawlessly.

    One little thing:

    I’m seeing 404s for two polylang_mo posts, of the type:

    178.xxx.xxx.xxx - - [15/Jun/2015:10:23:41 +0200] "GET /?post_type=polylang_mo&p=1624 HTTP/1.0" 404 4366 "-" "WordPress/4.2.2; https://<my.site>"

    I know that this is not severe, but I’m wondering what is generating these errors. And they are spoiling the 404 list of my Redirection plugin.

    Thanks for any hints.

    Tom

    https://www.ads-software.com/plugins/polylang/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chouby

    (@chouby)

    Hi!

    I don’t know where these http requests come from. ‘polylang_mo’ is a custom post type used by Polylang to store the strings translations. This post type is for internal use only and is not accessible. That’s why if someone attempts to access it, you get a 404.

    Thread Starter ecdltf

    (@ecdltf)

    Thanks for the swift reply.

    Yes, the 404-producing requests are “internal” requests (no external IP).

    But my string translations are all OK, so Polylang apparently does find the polylang_mo posts.

    I have 2 similarly mysterious internal requests that are repeatedly producing 404s (‘/auto-draft/’ and ‘/main/’), so I think now that these and the polylang_mo 404s have a common reason.

    Just to find out what it is … ??

    Thanks.

    Tom

    Thread Starter ecdltf

    (@ecdltf)

    OK, I found out where the 404s come from:

    It’s the cache preloading of WP Super Cache. It goes through the database and tries to pre-build every post with the post_status “publish”. Unfortunately the polylang_mo posts also have the status “publish”.

    I changed the post_status to “private” (line 45, mo.php) and saved the string translations, the 404s are gone and everything seems to work fine, so far.

    However I don’t know, if the “private” status has any negative effects I’m not aware of …

    What do you think?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘polylang_mo and 404s’ is closed to new replies.