Title: Fix .htaccess WPML language
Author: David Garcia
Published: <strong>2023-10-30</strong>
Last modified: 2023-10-30

---

Szukaj wtyczek

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://s.w.org/plugins/geopattern-icon/fix-htaccess-wpml-language.svg)

# Fix .htaccess WPML language

 Autor: [David Garcia](https://profiles.wordpress.org/sultanicq/)

[Pobierz](https://downloads.wordpress.org/plugin/fix-htaccess-wpml-language.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/fix-htaccess-wpml-language/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/fix-htaccess-wpml-language/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/fix-htaccess-wpml-language/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/fix-htaccess-wpml-language/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/fix-htaccess-wpml-language/)

## Opis

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.

## Instalacja

 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?

## Recenzje

![](https://secure.gravatar.com/avatar/8eb44e07b7308b77bc4c64c2027639477c015797a55249923e915e1be9cd0ddc?
s=60&d=retro&r=g)

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-3734/)󠁿

 [TStone](https://profiles.wordpress.org/tstone/) 2026-05-11

I had recurring problems with the .htaccess until I found this plugin!

 [ Przeczytaj 0 recenzji ](https://wordpress.org/support/plugin/fix-htaccess-wpml-language/reviews/)

## Kontrybutorzy i deweloperzy

„Fix .htaccess WPML language” jest oprogramowaniem open source. Poniższe osoby miały
wkład w rozwój wtyczki.

Zaangażowani

 *   [ David Garcia ](https://profiles.wordpress.org/sultanicq/)

[Przetłumacz wtyczkę “Fix .htaccess WPML language” na swój język.](https://translate.wordpress.org/projects/wp-plugins/fix-htaccess-wpml-language)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/fix-htaccess-wpml-language/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/fix-htaccess-wpml-language/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/fix-htaccess-wpml-language/)
przez [RSS](https://plugins.trac.wordpress.org/log/fix-htaccess-wpml-language/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.0

 * Initial release.

## Meta

 *  Wersja **1.0**
 *  Ostatnia aktualizacja **3 lata temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 4.9 lub nowszej **
 *  Testowano do **6.3.14**
 *  Wersja PHP ** 7.0 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/fix-htaccess-wpml-language/)
 * Tagi
 * [htaccess](https://pl.wordpress.org/plugins/tags/htaccess/)[language](https://pl.wordpress.org/plugins/tags/language/)
   [rewriterules](https://pl.wordpress.org/plugins/tags/rewriterules/)[wpml](https://pl.wordpress.org/plugins/tags/wpml/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/fix-htaccess-wpml-language/advanced/)

## Oceny

 5 na 5 gwiazdek.

 *  [  1 recenzja 5-gwiazdkowa     ](https://wordpress.org/support/plugin/fix-htaccess-wpml-language/reviews/?filter=5)
 *  [  0 recenzji 4-gwiazdkowych     ](https://wordpress.org/support/plugin/fix-htaccess-wpml-language/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/fix-htaccess-wpml-language/reviews/?filter=3)
 *  [  0 recenzji 2-gwiazdkowych     ](https://wordpress.org/support/plugin/fix-htaccess-wpml-language/reviews/?filter=2)
 *  [  0 recenzji 1-gwiazdkowych     ](https://wordpress.org/support/plugin/fix-htaccess-wpml-language/reviews/?filter=1)

[Twoja opinia](https://wordpress.org/support/plugin/fix-htaccess-wpml-language/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/fix-htaccess-wpml-language/reviews/)

## Zaangażowani

 *   [ David Garcia ](https://profiles.wordpress.org/sultanicq/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/fix-htaccess-wpml-language/)