Tiu ĉi kromprogramo ne estis testita en la 3 lastaj gravaj eldonoj de WordPress. Eble ĝi ne plu estas prizorgata kaj ĝi eble havus kongruajn problemojn en novaj versioj de WordPress.

Fix .htaccess WPML language

Priskribo

The problem actually comes from certain third-party plugins calling flush_rewrite_rules(true) function too often. This causes WordPress to overwrite .htaccess. However, in some cases, this happens so often, sometimes even on every page request, that it’s called while browsing the front-end in another language.

When this happens, WPML goes ahead and adds the language folder to home_url as usual. This, however, results with an incorrect RewriteBase in .htaccess and ends up breaking the front-end.

Additionally, you’ll get a 500 Internal Server Error error.

And this is what we’ll see in server logs:

AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.

Instalo

  1. Install “Fix .htaccess WPML Language” either via the WordPress.org plugin directory, or by uploading the files to your server inside the wp-content/plugins folder of your WordPress installation.
  2. Activate “Fix .htaccess WPML Language” plugin via WordPress Settings.
  3. It’s done. Easy, isn’t it?

Pritaksoj

There are no reviews for this plugin.

Kontribuantoj k. programistoj

“Fix .htaccess WPML language” estas liberkoda programo. La sekvaj homoj kontribuis al la kromprogramo.

Kontribuantoj

Traduki “Fix .htaccess WPML language” en vian lingvon.

Ĉu interesita en programado?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Ŝanĝprotokolo

1.0

  • Initial release.