Title: hreflang x-default Tag for WPML | inventivo
Author: Nils Harder
Published: <strong>15. august, 2018</strong>
Last modified: 31. august, 2026

---

Søg plugins

![](https://ps.w.org/hreflang-x-default-tag-for-wpml-inventivo/assets/banner-772x250.
jpg?rev=1925027)

![](https://ps.w.org/hreflang-x-default-tag-for-wpml-inventivo/assets/icon-256x256.
png?rev=1925033)

# hreflang x-default Tag for WPML | inventivo

 Af [Nils Harder](https://profiles.wordpress.org/inventivode/)

[Download](https://downloads.wordpress.org/plugin/hreflang-x-default-tag-for-wpml-inventivo.1.0.7.zip)

 * [Detaljer](https://da.wordpress.org/plugins/hreflang-x-default-tag-for-wpml-inventivo/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/hreflang-x-default-tag-for-wpml-inventivo/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/hreflang-x-default-tag-for-wpml-inventivo/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/hreflang-x-default-tag-for-wpml-inventivo/#developers)

 [Support](https://wordpress.org/support/plugin/hreflang-x-default-tag-for-wpml-inventivo/)

## Beskrivelse

Add the missing hreflang x-default Tag for WPML.

Visit our [Website](https://www.inventivo.de) in order to find more WordPress plugins.

Small and simple:
 – Responsive – fits to all screens – Lightweight code

Get your hreflang x-default Tag for WPML Plugin now!

How it works:

 1. Upload the Plugin
 2. Activate the Plugin

## Skærmbilleder

[[

## Installation

Use WordPress’ Add New Plugin feature, searching “Onpage SEO Tweaks | inventivo”,
or download the archive and:

 1. Unzip the archive on your computer
 2. Upload `inventivo-hreflang-xdefault-tag` directory to the `/wp-content/plugins/`
    directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“hreflang x-default Tag for WPML | inventivo” er open source-software. Følgende 
personer har bidraget til dette plugin.

Bidragsydere

 *   [ Nils Harder ](https://profiles.wordpress.org/inventivode/)

[Oversæt “hreflang x-default Tag for WPML | inventivo” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/hreflang-x-default-tag-for-wpml-inventivo)

### Interesseret i udvikling?

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

## Ændringslog

1.0.7 Tested with WordPress 7.1 on PHP 7.4, 8.3 and 8.4. The WPML settings are now
read only after WPML has been detected, which removes a PHP 8 warning that occurred
on every page load when WPML was not installed. The x-default URL is escaped. Dismissing
the admin notice now requires a valid nonce, which closes a request forgery gap 
without locking out editors and authors. Please note: the x-default output itself
was not tested against a live WPML installation. The admin notice now links to a
page that exists again, and its stylesheet uses a plugin specific handle so it no
longer collides with our other plugins.

1.0.6 Ability to dismiss admin notice persistently.

1.0.5 Added note for Weglot Support in Premium Plugin

1.0.4 Add admin image and notice.

1.0.3 Change class name.

1.0.2 Code cleanup.

1.0.1 Code cleanup.

1.0.0 Modify code for compatibility with newer WPML versions.

0.0.3 Moved project to github.

0.0.2 Added fix for not causing error when WPML is not installed or icl_get_languages
function is not defined.

## Meta

 *  Version **1.0.7**
 *  Senest opdateret **2 måneder siden**
 *  Aktive installationer **50+**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **7.1.4**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/hreflang-x-default-tag-for-wpml-inventivo/)
 * Tags
 * [hreflang](https://da.wordpress.org/plugins/tags/hreflang/)[multilingual](https://da.wordpress.org/plugins/tags/multilingual/)
   [seo](https://da.wordpress.org/plugins/tags/seo/)[wpml](https://da.wordpress.org/plugins/tags/wpml/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/hreflang-x-default-tag-for-wpml-inventivo/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/hreflang-x-default-tag-for-wpml-inventivo/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/hreflang-x-default-tag-for-wpml-inventivo/reviews/)

## Bidragsydere

 *   [ Nils Harder ](https://profiles.wordpress.org/inventivode/)

## Support

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

 [Vis supportforum](https://wordpress.org/support/plugin/hreflang-x-default-tag-for-wpml-inventivo/)