תוסף זה לא נבדק ב-3 הגרסאות הראשיות האחרונות של וורדפרס. ייתכן והתוסף כבר לא מתוחזק או נתמך על ידי יוצריו, וייתכן שיהיו לו בעיות תאימות בגרסות וורדפרס עדכניות יותר.

Relative Links Fix

תיאור

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).

התקנה

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

שאלות נפוצות

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.

סקירות

There are no reviews for this plugin.

מפתחים

"Relative Links Fix" הוא תוסף קוד פתוח. האנשים הבאים תרמו ליצירת התוסף הזה.

תורמים

ניתן לתרגם את "Relative Links Fix" לשפה שלך.

מעוניינים בפיתוח?

עיינו בקוד, ראו את הקוד ב-SVN repository, או הירשמו ללוג פיתוח באמצעות RSS.

שינויים

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.