Title: Relative Links Fix
Author: achellios
Published: <strong>4. januar, 2010</strong>
Last modified: 22. februar, 2010

---

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/relative-links-fix.svg)

# Relative Links Fix

 Af [achellios](https://profiles.wordpress.org/achellios/)

[Download](https://downloads.wordpress.org/plugin/relative-links-fix.1.3.zip)

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

 [Support](https://wordpress.org/support/plugin/relative-links-fix/)

## Beskrivelse

WordPress bloggers will sometimes copy headlines from a WordPress-generated homepage
and paste them into the post-editing window. In Firefox, this has the unfortunate
result of converting absolute urls into relative ones. For example, copying a headline
from http://khaotica.com converts the permalink for this article:

http://khaotica.com/2009/12/firefox-relative-links-fix-wordpress.html

…to a relative link:

../2009/12/firefox-relative-links-fix-wordpress.html

This creates broken links when the post is viewed on the archive page and RSS feed.
The links will also be broken for subscribers who receive posts via email.

Enter the Relative Links Fix. This plugin will replace relative urls with the proper
absolute urls every time you save or publish a post. If you use WordPress and can’t
shake those copy-paste habits, this is the plugin for you.

As always, donations are appreciated. I promise to spend them exclusively on soda(
the creative fuel that powers developers everywhere).

## Installation

 1. Upload `linksfix.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

  How do I correct relative urls in my post?

After the plugin is activated, simply publish or update the post. The plugin automatically
corrects relative urls in the post each time it is saved to the database.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Relative Links Fix” er open source-software. Følgende personer har bidraget til
dette plugin.

Bidragsydere

 *   [ achellios ](https://profiles.wordpress.org/achellios/)

[Oversæt “Relative Links Fix” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/relative-links-fix)

### Interesseret i udvikling?

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

## Ændringslog

#### 1.3

 * Corrected bug for WordPress subdirectory

#### 1.2

 * Plugin now corrects img src links in addition to href links.

#### 1.1

 * Tested in WP 2.9; updated description and FAQ.

#### 1.0

 * Original release.

## Meta

 *  Version **1.3**
 *  Senest opdateret **17 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 2.5 eller højere **
 *  Testet op til **2.9.2**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/relative-links-fix/)
 * Tags
 * [editor](https://da.wordpress.org/plugins/tags/editor/)[Firefox](https://da.wordpress.org/plugins/tags/firefox/)
   [links](https://da.wordpress.org/plugins/tags/links/)[paste](https://da.wordpress.org/plugins/tags/paste/)
   [relative](https://da.wordpress.org/plugins/tags/relative/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/relative-links-fix/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

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

[Se alle anmeldelser](https://wordpress.org/support/plugin/relative-links-fix/reviews/)

## Bidragsydere

 *   [ achellios ](https://profiles.wordpress.org/achellios/)

## Support

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

 [Vis supportforum](https://wordpress.org/support/plugin/relative-links-fix/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=99KW4AJ74J7E8&lc=US&item_name=Joshua%20Hill%20%28khaotica%2ecom%29&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)