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

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Fix .htaccess WPML language

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

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

 * [Detaljer](https://da.wordpress.org/plugins/fix-htaccess-wpml-language/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/fix-htaccess-wpml-language/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/fix-htaccess-wpml-language/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/fix-htaccess-wpml-language/#developers)

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

## Beskrivelse

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.

## Installation

 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?

## Anmeldelser

![](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/) 11. maj, 2026

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

 [ Læs alle 0 anmeldelser ](https://wordpress.org/support/plugin/fix-htaccess-wpml-language/reviews/)

## Bidragsydere & udviklere

“Fix .htaccess WPML language” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

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

[Oversæt “Fix .htaccess WPML language” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/fix-htaccess-wpml-language)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/fix-htaccess-wpml-language/),
tjek [SVN repository](https://plugins.svn.wordpress.org/fix-htaccess-wpml-language/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/fix-htaccess-wpml-language/)
via [RSS](https://plugins.trac.wordpress.org/log/fix-htaccess-wpml-language/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0

 * Initial release.

## Meta

 *  Version **1.0**
 *  Senest opdateret **3 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 4.9 eller højere **
 *  Testet op til **6.3.14**
 *  PHP-version ** 7.0 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/fix-htaccess-wpml-language/)
 * Tags
 * [htaccess](https://da.wordpress.org/plugins/tags/htaccess/)[language](https://da.wordpress.org/plugins/tags/language/)
   [rewriterules](https://da.wordpress.org/plugins/tags/rewriterules/)[wpml](https://da.wordpress.org/plugins/tags/wpml/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/fix-htaccess-wpml-language/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

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

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

[Se alle anmeldelser](https://wordpress.org/support/plugin/fix-htaccess-wpml-language/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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